Debian Codegraph @

.github/workflows/quality.yml

raw symbols SCIP
1 # For documentation on GitHub Actions Workflows, see:
2 # https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
3 name: Quality
4 on:
5 pull_request:
6 types: [opened, synchronize, reopened]
7 push:
8 branches: [main]
9
10 permissions:
11 contents: read
12
13 jobs:
14 quality:
15 runs-on: ubuntu-latest
16 steps:
17 - name: Check out
18 uses: actions/[email protected]
19 with:
20 fetch-depth: 0 # Needed for setuptools_scm to work correctly
21
22 - uses: actions/cache@v6
23 with:
24 path: ~/.cache/pre-commit
25 key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
26 - name: Install uv and set the python version
27 uses: astral-sh/setup-uv@v7
28 with:
29 python-version: "3.14"
30 - name: Install the project
31 run: uv sync --group quality
32 - name: Run prek
33 run: uv run prek run -a --show-diff-on-failure