Skip to content

Commit 404d59f

Browse files
fix: add code checkout and Python setup steps to lint workflow
1 parent cac02b5 commit 404d59f

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

.github/workflows/lint.yaml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,13 @@ jobs:
2626
needs: setup
2727
runs-on: ubuntu-latest
2828
steps:
29-
- name: Check Python version
30-
run: python --version
29+
- name: Checkout code
30+
uses: actions/checkout@v4
31+
32+
- name: Set up Python
33+
uses: actions/setup-python@v5
34+
with:
35+
python-version: "3.12"
3136

3237
- name: Run lint checks
3338
id: lint
@@ -58,6 +63,14 @@ jobs:
5863
needs: setup
5964
runs-on: ubuntu-latest
6065
steps:
66+
- name: Checkout code
67+
uses: actions/checkout@v4
68+
69+
- name: Set up Python
70+
uses: actions/setup-python@v5
71+
with:
72+
python-version: "3.12"
73+
6174
- name: Run tests on all Python versions
6275
id: test
6376
run: uvx nox -s test_all

0 commit comments

Comments
 (0)