26
26
runs-on : ${{ matrix.os }}
27
27
28
28
steps :
29
+ - name : Free disk space (Ubuntu)
30
+ if : runner.os == 'Linux'
31
+ uses : jlumbroso/free-disk-space@main
32
+ with :
33
+ tool-cache : true
34
+ android : false
35
+ dotnet : false
36
+ haskell : false
37
+ large-packages : true
38
+ docker-images : true
39
+ swap-storage : true
40
+
41
+ - name : Install runner dependencies
42
+ if : runner.os == 'Linux'
43
+ run : sudo apt-get install -y curl clang git libssl-dev make pkg-config
44
+
29
45
- name : Checkout repository
30
46
uses : actions/checkout@v4
31
47
54
70
components : rustfmt, clippy
55
71
56
72
- name : Set up Python environment
57
- uses : actions/setup-python@v4
73
+ uses : actions/setup-python@v5
58
74
with :
59
75
python-version : ${{ matrix.python-version }}
60
76
82
98
upload_url : ${{ steps.create-release.outputs.upload_url }}
83
99
84
100
steps :
101
+ - name : Free disk space (Ubuntu)
102
+ uses : jlumbroso/free-disk-space@main
103
+ with :
104
+ tool-cache : true
105
+ android : false
106
+ dotnet : false
107
+ haskell : false
108
+ large-packages : true
109
+ docker-images : true
110
+ swap-storage : true
111
+
112
+ - name : Install runner dependencies
113
+ if : runner.os == 'Linux'
114
+ run : sudo apt-get install -y curl clang git libssl-dev make pkg-config
115
+
85
116
- name : Checkout repository
86
117
uses : actions/checkout@v4
87
118
with :
@@ -102,7 +133,7 @@ jobs:
102
133
components : rustfmt, clippy
103
134
104
135
- name : Set up Python environment
105
- uses : actions/setup-python@v4
136
+ uses : actions/setup-python@v5
106
137
with :
107
138
python-version : " 3.11"
108
139
@@ -124,7 +155,7 @@ jobs:
124
155
125
156
- name : Poetry cache
126
157
id : cached-poetry
127
- uses : actions/cache@v3
158
+ uses : actions/cache@v4
128
159
with :
129
160
path : ${{ env.POETRY_CACHE_DIR }}
130
161
key : ${{ runner.os }}-${{ matrix.python-version }}-poetry-${{ hashFiles('**/poetry.lock') }}
@@ -164,6 +195,20 @@ jobs:
164
195
COPY_TO_SOURCE : false # Do not copy built *.so files back into source tree
165
196
166
197
steps :
198
+ - name : Free disk space (Ubuntu)
199
+ uses : jlumbroso/free-disk-space@main
200
+ with :
201
+ tool-cache : true
202
+ android : false
203
+ dotnet : false
204
+ haskell : false
205
+ large-packages : true
206
+ docker-images : true
207
+ swap-storage : true
208
+
209
+ - name : Install runner dependencies
210
+ run : sudo apt-get install -y curl clang git libssl-dev make pkg-config
211
+
167
212
- name : Checkout repository
168
213
uses : actions/checkout@v4
169
214
@@ -182,7 +227,7 @@ jobs:
182
227
components : rustfmt, clippy
183
228
184
229
- name : Set up Python environment
185
- uses : actions/setup-python@v4
230
+ uses : actions/setup-python@v5
186
231
with :
187
232
python-version : " 3.11"
188
233
@@ -204,7 +249,7 @@ jobs:
204
249
205
250
- name : Poetry cache
206
251
id : cached-poetry
207
- uses : actions/cache@v3
252
+ uses : actions/cache@v4
208
253
with :
209
254
path : ${{ env.POETRY_CACHE_DIR }}
210
255
key : ${{ runner.os }}-${{ matrix.python-version }}-poetry-${{ hashFiles('**/poetry.lock') }}
@@ -255,6 +300,22 @@ jobs:
255
300
BUILD_MODE : release
256
301
257
302
steps :
303
+ - name : Free disk space (Ubuntu)
304
+ if : runner.os == 'Linux'
305
+ uses : jlumbroso/free-disk-space@main
306
+ with :
307
+ tool-cache : true
308
+ android : false
309
+ dotnet : false
310
+ haskell : false
311
+ large-packages : true
312
+ docker-images : true
313
+ swap-storage : true
314
+
315
+ - name : Install runner dependencies
316
+ if : runner.os == 'Linux'
317
+ run : sudo apt-get install -y curl clang git libssl-dev make pkg-config
318
+
258
319
- name : Checkout repository
259
320
uses : actions/checkout@v4
260
321
@@ -283,7 +344,7 @@ jobs:
283
344
components : rustfmt, clippy
284
345
285
346
- name : Set up Python environment
286
- uses : actions/setup-python@v4
347
+ uses : actions/setup-python@v5
287
348
with :
288
349
python-version : ${{ matrix.python-version }}
289
350
@@ -305,7 +366,7 @@ jobs:
305
366
306
367
- name : Poetry cache
307
368
id : cached-poetry
308
- uses : actions/cache@v3
369
+ uses : actions/cache@v4
309
370
with :
310
371
path : ${{ env.POETRY_CACHE_DIR }}
311
372
key : ${{ runner.os }}-${{ matrix.python-version }}-poetry-${{ hashFiles('**/poetry.lock') }}
0 commit comments