github: Run actions on python:3.11-bookworm #490
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pylint | |
on: | |
- push | |
- pull_request | |
jobs: | |
lint-ruff: | |
runs-on: ubuntu-latest | |
container: | |
image: docker.io/library/python:3.10-bookworm | |
# cgroupns needed to address the following error: | |
# write /sys/fs/cgroup/cgroup.subtree_control: operation not supported | |
options: --privileged --cgroupns=host | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Analysing the code with ruff | |
run: | | |
pip install -r test-requirements.txt | |
ruff format --check |