Debian Codegraph @

.github/workflows/lint.yml

raw
1 name: Lint code
2
3 on: [push, pull_request]
4
5 permissions:
6 contents: read
7
8 jobs:
9 lint:
10 runs-on: ubuntu-24.04
11 timeout-minutes: 10
12
13 steps:
14 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
15 with:
16 persist-credentials: false
17 - name: Set up Python
18 uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
19 with:
20 python-version: "3.x"
21 - name: Run pre-commit
22 uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507 # v3.0.0