Skip to content

Commit 0f0a462

Browse files
committed
GitHub ubuntu-latest runner does not support python 3.7, so using ubuntu-22.04 instead.
1 parent 1f9e3c4 commit 0f0a462

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/python-app.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414

1515
jobs:
1616
build:
17-
runs-on: ubuntu-latest
17+
runs-on: ubuntu-22.04
1818

1919
strategy:
2020
matrix:
@@ -30,9 +30,11 @@ jobs:
3030
run: |
3131
python -m pip install --upgrade pip
3232
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
33+
- name: Install the code linting and formatting tool Ruff
34+
run: |
35+
pipx install ruff
3336
- name: Lint with Ruff
3437
run: |
35-
pip install ruff
3638
ruff check --output-format=github .
3739
- name: Test with example.csv
3840
run: |

0 commit comments

Comments
 (0)