Skip to content

Commit 38c4e1f

Browse files
committed
misc: Update linter workflow.
1 parent 2e2bc9e commit 38c4e1f

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/python-linter.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,21 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
fail-fast: false
18-
matrix:
19-
python-version: ["3.8", "3.9", "3.10"]
2018

2119
steps:
2220
- name: '⏳ Checkout repository'
2321
uses: actions/checkout@v3
2422

25-
- name: '🐍 Set up Python ${{ matrix.python-version }}'
26-
uses: actions/setup-python@v3
23+
- name: '🐍 Set up Python'
24+
uses: actions/setup-python@v4
2725
with:
28-
python-version: ${{ matrix.python-version }}
26+
cache: 'pip'
27+
python-version: "3.10"
2928

3029
- name: '🛠 Install dependencies'
3130
run: |
3231
python -m pip install --upgrade pip
33-
python -m pip install flake8 pytest
34-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
32+
python -m pip install flake8==6.0.0 pytest==7.4.0
3533
3634
- name: '😾 Lint with flake8'
3735
run: |

0 commit comments

Comments
 (0)