diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 35a62077..7c165382 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -7,12 +7,9 @@ on: jobs: lint-ruff: runs-on: ubuntu-latest + container: docker.io/library/python:3.10-bookworm steps: - uses: actions/checkout@v3 - - name: Set up Python 3.10 - uses: actions/setup-python@v5 - with: - python-version: "3.11" - name: Analysing the code with ruff run: | pip install -r test-requirements.txt diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index bb2498f6..a3b3be5e 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -10,13 +10,9 @@ on: jobs: test: runs-on: ubuntu-latest - + container: docker.io/library/python:3.10-bookworm steps: - uses: actions/checkout@v3 - - name: Set up Python 3.10 - uses: actions/setup-python@v5 - with: - python-version: "3.10" - name: Install dependencies run: | sudo apt update && sudo apt install -y podman