Skip to content

Commit f4d0493

Browse files
authored
Bump actions and add dependabot (#53)
1 parent e533f41 commit f4d0493

File tree

2 files changed

+18
-11
lines changed

2 files changed

+18
-11
lines changed

.github/dependabot.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directories:
5+
- "/.github/workflows"
6+
schedule:
7+
interval: "monthly"

.github/workflows/build.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
which ccache
5151
5252
- name: Cache conda
53-
uses: actions/cache@v2
53+
uses: actions/cache@v4
5454
with:
5555
path: ~/conda_pkgs_dir
5656
key:
@@ -71,7 +71,7 @@ jobs:
7171

7272
- name: Cache Conda env
7373
id: conda-cache
74-
uses: actions/cache@v2
74+
uses: actions/cache@v4
7575
with:
7676
path: ${{ env.CONDA }}/envs
7777
key:
@@ -115,7 +115,7 @@ jobs:
115115
echo EMSCRIPTEN_VERSION=$(pyodide config get emscripten_version) >> $GITHUB_ENV
116116
117117
- name: Cache emsdk
118-
uses: actions/cache@v2
118+
uses: actions/cache@v4
119119
with:
120120
path: ${{env.EMSDK_CACHE_FOLDER}}
121121
key: ${{env.EMSDK_CACHE_NUMBER}}-${{env.EMSCRIPTEN_VERSION}}-${{ runner.os }}
@@ -135,7 +135,7 @@ jobs:
135135
fi
136136
137137
- name: Cache ccache
138-
uses: actions/cache@v2
138+
uses: actions/cache@v4
139139
with:
140140
path: ${{ env.CCACHE_DIR }}
141141
key: ${{ env.CCACHE_DIR }}-${{ env.CCACHE_CACHE_NUMBER }}-${{ env.EMSCRIPTEN_VERSION }}-${{ runner.os }}${{ env.CCACHE_SUFFIX }}
@@ -180,7 +180,7 @@ jobs:
180180
ccache -s
181181
182182
- name: Store artifacts build
183-
uses: actions/upload-artifact@v2
183+
uses: actions/upload-artifact@v4
184184
with:
185185
name: repodata
186186
path: ./repodata/
@@ -211,14 +211,14 @@ jobs:
211211
matrix:
212212
os: [ubuntu-latest]
213213
test-config: [
214-
{runner: selenium, runtime: chrome, runtime-version: latest },
214+
{runner: selenium, runtime: chrome, runtime-version: 126 },
215215
]
216216

217217
steps:
218218
- uses: actions/checkout@v3
219219

220220
- name: Cache conda
221-
uses: actions/cache@v2
221+
uses: actions/cache@v4
222222
with:
223223
path: ~/conda_pkgs_dir
224224
key:
@@ -239,7 +239,7 @@ jobs:
239239

240240
- name: Cache Conda env
241241
id: conda-cache
242-
uses: actions/cache@v2
242+
uses: actions/cache@v4
243243
with:
244244
path: ${{ env.CONDA }}/envs
245245
key:
@@ -256,14 +256,14 @@ jobs:
256256
tar -xvf pyodide-core.tar.bz2
257257
mv pyodide dist
258258
259-
- uses: pyodide/pyodide-actions/install-browser@v1
259+
- uses: pyodide/pyodide-actions/install-browser@v2
260260
with:
261261
runner: ${{ matrix.test-config.runner }}
262262
browser: ${{ matrix.test-config.runtime }}
263263
browser-version: ${{ matrix.test-config.runtime-version }}
264264

265265
- name: Download build artifact
266-
uses: actions/download-artifact@v2
266+
uses: actions/download-artifact@v4
267267
with:
268268
name: repodata
269269
path: ./repodata/
@@ -307,7 +307,7 @@ jobs:
307307
use-mamba: true
308308

309309
- name: Download build artifact
310-
uses: actions/download-artifact@v2
310+
uses: actions/download-artifact@v4
311311
with:
312312
name: repodata
313313
path: ./repodata/

0 commit comments

Comments
 (0)