@@ -33,18 +33,22 @@ jobs:
33
33
- macos-latest
34
34
35
35
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
41
36
- name : Install the latest version of uv
42
37
uses : astral-sh/setup-uv@v2
43
38
with :
44
39
enable-cache : true
45
40
github-token : ${{ secrets.GITHUB_TOKEN }}
41
+ - name : Setup python hatch
42
+ uses : actions/setup-python@v5
43
+ with :
44
+ python-version : " 3.12"
46
45
- 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
48
52
- uses : actions/checkout@v4
49
53
with :
50
54
fetch-depth : 0
@@ -88,16 +92,17 @@ jobs:
88
92
steps :
89
93
- name : Let us have colors
90
94
run : echo "FORCE_COLOR=true" >> "$GITHUB_ENV"
91
- - uses : actions/setup-python@v5
92
- with :
93
- python-version : " 3.12"
94
95
- name : Install the latest version of uv
95
96
uses : astral-sh/setup-uv@v2
96
97
with :
97
98
enable-cache : true
98
99
github-token : ${{ secrets.GITHUB_TOKEN }}
100
+ - name : Setup python hatch
101
+ uses : actions/setup-python@v5
102
+ with :
103
+ python-version : " 3.12"
99
104
- name : install hatch
100
- run : uv pip install hatch --system
105
+ run : uv pip install --system --python 3.12 hatch
101
106
- uses : actions/checkout@v4
102
107
with :
103
108
fetch-depth : 0
@@ -134,17 +139,17 @@ jobs:
134
139
- { "name": "docs", "target": "build" }
135
140
- { "name": "readme", "target": "run" }
136
141
steps :
137
- - name : Setup Python "3.12"
138
- uses : actions/setup-python@v5
139
- with :
140
- python-version : " 3.12"
141
142
- name : Install the latest version of uv
142
143
uses : astral-sh/setup-uv@v2
143
144
with :
144
145
enable-cache : true
145
146
github-token : ${{ secrets.GITHUB_TOKEN }}
147
+ - name : Setup python hatch
148
+ uses : actions/setup-python@v5
149
+ with :
150
+ python-version : " 3.12"
146
151
- name : install hatch
147
- run : uv pip install hatch --system
152
+ run : uv pip install --system --python 3.12 hatch
148
153
- uses : actions/checkout@v4
149
154
with :
150
155
fetch-depth : 0
0 commit comments