@@ -19,23 +19,10 @@ jobs:
1919 steps :
2020 - name : β€΅οΈ Check out code from GitHub
2121 uses : actions/checkout@v6.0.2
22- - name : π Set up Python ${{ env.DEFAULT_PYTHON }}
23- id : python
24- uses : actions/setup-python@v6.2.0
22+ - name : π Install uv
23+ uses : astral-sh/setup-uv@v8.1.0
2524 with :
2625 python-version : ${{ env.DEFAULT_PYTHON }}
27- - name : π¦ Cache uv
28- uses : actions/cache@v5
29- with :
30- path : |
31- ~/.cache/uv
32- key : ${{ runner.os }}-uv-${{ hashFiles('uv.lock') }}
33- restore-keys : |
34- ${{ runner.os }}-uv-
35- - name : π Install uv
36- run : |
37- curl -LsSf https://astral.sh/uv/install.sh | sh
38- echo "$HOME/.local/bin" >> $GITHUB_PATH
3926 - name : π Install Python dependencies
4027 run : uv sync --all-groups
4128 - name : π Check code for common misspellings
@@ -47,23 +34,10 @@ jobs:
4734 steps :
4835 - name : β€΅οΈ Check out code from GitHub
4936 uses : actions/checkout@v6.0.2
50- - name : π Set up Python ${{ env.DEFAULT_PYTHON }}
51- id : python
52- uses : actions/setup-python@v6.2.0
37+ - name : π Install uv
38+ uses : astral-sh/setup-uv@v8.1.0
5339 with :
5440 python-version : ${{ env.DEFAULT_PYTHON }}
55- - name : π¦ Cache uv
56- uses : actions/cache@v5
57- with :
58- path : |
59- ~/.cache/uv
60- key : ${{ runner.os }}-uv-${{ hashFiles('uv.lock') }}
61- restore-keys : |
62- ${{ runner.os }}-uv-
63- - name : π Install uv
64- run : |
65- curl -LsSf https://astral.sh/uv/install.sh | sh
66- echo "$HOME/.local/bin" >> $GITHUB_PATH
6741 - name : π Install Python dependencies
6842 run : uv sync --all-groups
6943 - name : π Run ruff linter
@@ -108,23 +82,10 @@ jobs:
10882 steps :
10983 - name : β€΅οΈ Check out code from GitHub
11084 uses : actions/checkout@v6.0.2
111- - name : π Set up Python ${{ env.DEFAULT_PYTHON }}
112- id : python
113- uses : actions/setup-python@v6.2.0
85+ - name : π Install uv
86+ uses : astral-sh/setup-uv@v8.1.0
11487 with :
11588 python-version : ${{ env.DEFAULT_PYTHON }}
116- - name : π¦ Cache uv
117- uses : actions/cache@v5
118- with :
119- path : |
120- ~/.cache/uv
121- key : ${{ runner.os }}-uv-${{ hashFiles('uv.lock') }}
122- restore-keys : |
123- ${{ runner.os }}-uv-
124- - name : π Install uv
125- run : |
126- curl -LsSf https://astral.sh/uv/install.sh | sh
127- echo "$HOME/.local/bin" >> $GITHUB_PATH
12889 - name : π Install Python dependencies
12990 run : uv sync --all-groups
13091 - name : π Check Python AST
@@ -138,23 +99,10 @@ jobs:
13899 steps :
139100 - name : β€΅οΈ Check out code from GitHub
140101 uses : actions/checkout@v6.0.2
141- - name : π Set up Python ${{ env.DEFAULT_PYTHON }}
142- id : python
143- uses : actions/setup-python@v6.2.0
102+ - name : π Install uv
103+ uses : astral-sh/setup-uv@v8.1.0
144104 with :
145105 python-version : ${{ env.DEFAULT_PYTHON }}
146- - name : π¦ Cache uv
147- uses : actions/cache@v5
148- with :
149- path : |
150- ~/.cache/uv
151- key : ${{ runner.os }}-uv-${{ hashFiles('uv.lock') }}
152- restore-keys : |
153- ${{ runner.os }}-uv-
154- - name : π Install uv
155- run : |
156- curl -LsSf https://astral.sh/uv/install.sh | sh
157- echo "$HOME/.local/bin" >> $GITHUB_PATH
158106 - name : π Install Python dependencies
159107 run : uv sync --all-groups
160108 - name : π Run pylint
@@ -166,23 +114,10 @@ jobs:
166114 steps :
167115 - name : β€΅οΈ Check out code from GitHub
168116 uses : actions/checkout@v6.0.2
169- - name : π Set up Python ${{ env.DEFAULT_PYTHON }}
170- id : python
171- uses : actions/setup-python@v6.2.0
117+ - name : π Install uv
118+ uses : astral-sh/setup-uv@v8.1.0
172119 with :
173120 python-version : ${{ env.DEFAULT_PYTHON }}
174- - name : π¦ Cache uv
175- uses : actions/cache@v5
176- with :
177- path : |
178- ~/.cache/uv
179- key : ${{ runner.os }}-uv-${{ hashFiles('uv.lock') }}
180- restore-keys : |
181- ${{ runner.os }}-uv-
182- - name : π Install uv
183- run : |
184- curl -LsSf https://astral.sh/uv/install.sh | sh
185- echo "$HOME/.local/bin" >> $GITHUB_PATH
186121 - name : π Install Python dependencies
187122 run : uv sync --all-groups
188123 - name : π Run yamllint
@@ -194,23 +129,10 @@ jobs:
194129 steps :
195130 - name : β€΅οΈ Check out code from GitHub
196131 uses : actions/checkout@v6.0.2
197- - name : π Set up Python ${{ env.DEFAULT_PYTHON }}
198- id : python
199- uses : actions/setup-python@v6.2.0
132+ - name : π Install uv
133+ uses : astral-sh/setup-uv@v8.1.0
200134 with :
201135 python-version : ${{ env.DEFAULT_PYTHON }}
202- - name : π¦ Cache uv
203- uses : actions/cache@v5
204- with :
205- path : |
206- ~/.cache/uv
207- key : ${{ runner.os }}-uv-${{ hashFiles('uv.lock') }}
208- restore-keys : |
209- ${{ runner.os }}-uv-
210- - name : π Install uv
211- run : |
212- curl -LsSf https://astral.sh/uv/install.sh | sh
213- echo "$HOME/.local/bin" >> $GITHUB_PATH
214136 - name : π Install Python dependencies
215137 run : uv sync --all-groups
216138 - name : π Set up Node.js
0 commit comments