github: Fix ruff job setup

Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
This commit is contained in:
Povilas Kanapickas 2024-03-08 11:36:57 +02:00
parent 23fe9e7e1d
commit b65d4a3916

View File

@ -7,15 +7,12 @@ on:
jobs: jobs:
lint-ruff: lint-ruff:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/checkout@v3 - name: Set up Python 3.10
name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4
with: with:
python-version: ${{ matrix.python-version }} python-version: "3.11"
- name: Analysing the code with ruff - name: Analysing the code with ruff
run: | run: |
pip install -r test-requirements.txt pip install -r test-requirements.txt