Skip to content

Do not upload SARIF file to GitHub #59

Do not upload SARIF file to GitHub

Do not upload SARIF file to GitHub #59

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
pull_request:
permissions: {}
jobs:
pre-commit:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout Code Repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Run pre-commit
uses: pre-commit/[email protected]
ctt:
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
matrix:
version: ["3.11", "3.12", "3.10"]
steps:
- name: Checkout Code Repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.version }}
- name: Setup temporary git identity
run: git config --global user.email "[email protected]" && git config --global user.name "Your Name"
- name: Install copier-template-tester
run: pipx install copier-template-tester
- name: Run CTT
run: ctt