Debian Codegraph @

.github/workflows/linting.yml

raw symbols SCIP
1 name: Code linting
2
3 on: [push, pull_request]
4
5 jobs:
6 Tests:
7
8 runs-on: ubuntu-latest
9 permissions:
10 contents: read
11 checks: write
12 id-token: write
13 pull-requests: write
14 strategy:
15 matrix:
16 python-version: ['3.12']
17
18 steps:
19 - uses: actions/checkout@v6
20 - name: Set up Python ${{ matrix.python-version }}
21 uses: actions/setup-python@v5
22 with:
23 python-version: ${{ matrix.python-version }}
24
25 - name: Lint with Ruff
26 run: |
27 python -m pip install --upgrade pip
28 pip install ruff
29 ruff check --output-format=github .