Debian Codegraph @

.github/workflows/static-checks.yml

raw symbols SCIP
1 name: Static checks
2
3 on:
4 - push
5 - pull_request
6
7 jobs:
8 static-checks:
9 runs-on: ubuntu-latest
10 container:
11 image: docker.io/library/python:3.11-bookworm
12 # cgroupns needed to address the following error:
13 # write /sys/fs/cgroup/cgroup.subtree_control: operation not supported
14 options: --privileged --cgroupns=host
15 steps:
16 - uses: actions/checkout@v6
17 - name: Install dependencies
18 run: |
19 set -e
20 pip install -r test-requirements.txt
21 - name: Analysing the code using ruff
22 run: |
23 set -e
24 ruff format --check
25 ruff check
26 - name: Analysing the code using mypy
27 run: |
28 set -e
29 mypy .
30 - name: Analysing the code with pylint
31 run: |
32 pylint podman_compose.py