Skip to content

Commit 6dbec26

Browse files
committed
Update check.yml
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
1 parent c596271 commit 6dbec26

File tree

1 file changed

+20
-15
lines changed

1 file changed

+20
-15
lines changed

.github/workflows/check.yml

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,22 @@ 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 hatch
42+
uses: actions/setup-python@v5
43+
with:
44+
python-version: "3.12"
4645
- name: install hatch
47-
run: uv pip install hatch --system
46+
run: uv pip install --system --python 3.12 hatch
47+
- name: Setup python for test ${{ matrix.py }}
48+
uses: actions/setup-python@v5
49+
with:
50+
python-version: ${{ matrix.py }}
51+
allow-prereleases: true
4852
- uses: actions/checkout@v4
4953
with:
5054
fetch-depth: 0
@@ -88,16 +92,17 @@ jobs:
8892
steps:
8993
- name: Let us have colors
9094
run: echo "FORCE_COLOR=true" >> "$GITHUB_ENV"
91-
- uses: actions/setup-python@v5
92-
with:
93-
python-version: "3.12"
9495
- name: Install the latest version of uv
9596
uses: astral-sh/setup-uv@v2
9697
with:
9798
enable-cache: true
9899
github-token: ${{ secrets.GITHUB_TOKEN }}
100+
- name: Setup python hatch
101+
uses: actions/setup-python@v5
102+
with:
103+
python-version: "3.12"
99104
- name: install hatch
100-
run: uv pip install hatch --system
105+
run: uv pip install --system --python 3.12 hatch
101106
- uses: actions/checkout@v4
102107
with:
103108
fetch-depth: 0
@@ -134,17 +139,17 @@ jobs:
134139
- { "name": "docs", "target": "build" }
135140
- { "name": "readme", "target": "run" }
136141
steps:
137-
- name: Setup Python "3.12"
138-
uses: actions/setup-python@v5
139-
with:
140-
python-version: "3.12"
141142
- name: Install the latest version of uv
142143
uses: astral-sh/setup-uv@v2
143144
with:
144145
enable-cache: true
145146
github-token: ${{ secrets.GITHUB_TOKEN }}
147+
- name: Setup python hatch
148+
uses: actions/setup-python@v5
149+
with:
150+
python-version: "3.12"
146151
- name: install hatch
147-
run: uv pip install hatch --system
152+
run: uv pip install --system --python 3.12 hatch
148153
- uses: actions/checkout@v4
149154
with:
150155
fetch-depth: 0

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy