Skip to content

Commit 0d43b42

Browse files
committed
Update check.yml
Signed-off-by: Bernát Gábor <[email protected]>
1 parent c596271 commit 0d43b42

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/check.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,16 @@ jobs:
3333
- macos-latest
3434

3535
steps:
36-
- name: Setup python for test ${{ matrix.py }}
37-
uses: actions/setup-python@v5
38-
with:
39-
python-version: ${{ matrix.py }}
40-
allow-prereleases: true
4136
- name: Install the latest version of uv
4237
uses: astral-sh/setup-uv@v2
4338
with:
4439
enable-cache: true
4540
github-token: ${{ secrets.GITHUB_TOKEN }}
41+
- name: Setup python for test ${{ matrix.py }}
42+
uses: actions/setup-python@v5
43+
with:
44+
python-version: ${{ matrix.py }}
45+
allow-prereleases: true
4646
- name: install hatch
4747
run: uv pip install hatch --system
4848
- uses: actions/checkout@v4
@@ -88,14 +88,14 @@ jobs:
8888
steps:
8989
- name: Let us have colors
9090
run: echo "FORCE_COLOR=true" >> "$GITHUB_ENV"
91-
- uses: actions/setup-python@v5
92-
with:
93-
python-version: "3.12"
9491
- name: Install the latest version of uv
9592
uses: astral-sh/setup-uv@v2
9693
with:
9794
enable-cache: true
9895
github-token: ${{ secrets.GITHUB_TOKEN }}
96+
- uses: actions/setup-python@v5
97+
with:
98+
python-version: "3.12"
9999
- name: install hatch
100100
run: uv pip install hatch --system
101101
- uses: actions/checkout@v4
@@ -134,15 +134,15 @@ jobs:
134134
- { "name": "docs", "target": "build" }
135135
- { "name": "readme", "target": "run" }
136136
steps:
137-
- name: Setup Python "3.12"
138-
uses: actions/setup-python@v5
139-
with:
140-
python-version: "3.12"
141137
- name: Install the latest version of uv
142138
uses: astral-sh/setup-uv@v2
143139
with:
144140
enable-cache: true
145141
github-token: ${{ secrets.GITHUB_TOKEN }}
142+
- name: Setup Python "3.12"
143+
uses: actions/setup-python@v5
144+
with:
145+
python-version: "3.12"
146146
- name: install hatch
147147
run: uv pip install hatch --system
148148
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)