12 runs-on: ubuntu-latest
18 python-version: ['3.12']
22 - name: Set up Python ${{ matrix.python-version }}
23 uses: actions/setup-python@v5
25 python-version: ${{ matrix.python-version }}
27 - name: Get the source code
28 uses: actions/checkout@v4
30 - name: Check static typing with mypy
33 mypy kernel_hardening_checker/ --show-error-context --pretty --no-incremental --check-untyped-defs --disallow-untyped-defs --strict-equality
35 - name: Check code with pylint
38 pip install setuptools
39 pylint --recursive=y kernel_hardening_checker setup.py