2626 runs-on : ${{ matrix.os }}
2727
2828 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+
2945 - name : Checkout repository
3046 uses : actions/checkout@v4
3147
5470 components : rustfmt, clippy
5571
5672 - name : Set up Python environment
57- uses : actions/setup-python@v4
73+ uses : actions/setup-python@v5
5874 with :
5975 python-version : ${{ matrix.python-version }}
6076
8298 upload_url : ${{ steps.create-release.outputs.upload_url }}
8399
84100 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+
85116 - name : Checkout repository
86117 uses : actions/checkout@v4
87118 with :
@@ -102,7 +133,7 @@ jobs:
102133 components : rustfmt, clippy
103134
104135 - name : Set up Python environment
105- uses : actions/setup-python@v4
136+ uses : actions/setup-python@v5
106137 with :
107138 python-version : " 3.11"
108139
@@ -124,7 +155,7 @@ jobs:
124155
125156 - name : Poetry cache
126157 id : cached-poetry
127- uses : actions/cache@v3
158+ uses : actions/cache@v4
128159 with :
129160 path : ${{ env.POETRY_CACHE_DIR }}
130161 key : ${{ runner.os }}-${{ matrix.python-version }}-poetry-${{ hashFiles('**/poetry.lock') }}
@@ -164,6 +195,20 @@ jobs:
164195 COPY_TO_SOURCE : false # Do not copy built *.so files back into source tree
165196
166197 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+
167212 - name : Checkout repository
168213 uses : actions/checkout@v4
169214
@@ -182,7 +227,7 @@ jobs:
182227 components : rustfmt, clippy
183228
184229 - name : Set up Python environment
185- uses : actions/setup-python@v4
230+ uses : actions/setup-python@v5
186231 with :
187232 python-version : " 3.11"
188233
@@ -204,7 +249,7 @@ jobs:
204249
205250 - name : Poetry cache
206251 id : cached-poetry
207- uses : actions/cache@v3
252+ uses : actions/cache@v4
208253 with :
209254 path : ${{ env.POETRY_CACHE_DIR }}
210255 key : ${{ runner.os }}-${{ matrix.python-version }}-poetry-${{ hashFiles('**/poetry.lock') }}
@@ -255,6 +300,22 @@ jobs:
255300 BUILD_MODE : release
256301
257302 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+
258319 - name : Checkout repository
259320 uses : actions/checkout@v4
260321
@@ -283,7 +344,7 @@ jobs:
283344 components : rustfmt, clippy
284345
285346 - name : Set up Python environment
286- uses : actions/setup-python@v4
347+ uses : actions/setup-python@v5
287348 with :
288349 python-version : ${{ matrix.python-version }}
289350
@@ -305,7 +366,7 @@ jobs:
305366
306367 - name : Poetry cache
307368 id : cached-poetry
308- uses : actions/cache@v3
369+ uses : actions/cache@v4
309370 with :
310371 path : ${{ env.POETRY_CACHE_DIR }}
311372 key : ${{ runner.os }}-${{ matrix.python-version }}-poetry-${{ hashFiles('**/poetry.lock') }}
0 commit comments