24
24
matrix :
25
25
os : [ windows-latest, macOS-13, macOS-14 ]
26
26
steps :
27
- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
27
+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
28
28
with :
29
29
fetch-depth : 0
30
30
persist-credentials : false
@@ -44,17 +44,15 @@ jobs:
44
44
f.write(f"dir={str(user_cache_path(appname='cibuildwheel', appauthor='pypa'))}")
45
45
shell : python
46
46
- name : Cache cibuildwheel tools
47
- uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
47
+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
48
48
with :
49
49
path : ${{ steps.cibuildwheel-cache.outputs.dir }}
50
50
key : ${{ runner.os }}-cibuildwheel
51
51
- name : Build wheels
52
- uses : pypa/cibuildwheel@95d2f3a92fbf80abe066b09418bbf128a8923df2 # v3.0.1
52
+ uses : pypa/cibuildwheel@c923d83ad9c1bc00211c5041d0c3f73294ff88f6 # v3.1.4
53
53
env :
54
54
CIBW_PROJECT_REQUIRES_PYTHON : " >=${{ needs.get_python_versions.outputs.min-python }}"
55
55
CIBW_ARCHS : auto64
56
- # Do not build for PyPy
57
- CIBW_SKIP : ' pp*'
58
56
CIBW_TEST_COMMAND : python {project}/dev/continuous-integration/run_simple_test.py
59
57
CIBW_TEST_REQUIRES : pytest
60
58
with :
75
73
config : [{arch: auto64, image: ubuntu-24.04},
76
74
{arch: aarch64, image: ubuntu-24.04-arm}]
77
75
steps :
78
- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
76
+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
79
77
with :
80
78
fetch-depth : 0
81
79
persist-credentials : false
@@ -100,12 +98,12 @@ jobs:
100
98
f.write(f"dir={str(user_cache_path(appname='cibuildwheel', appauthor='pypa'))}")
101
99
shell : python
102
100
- name : Cache cibuildwheel tools
103
- uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
101
+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
104
102
with :
105
103
path : ${{ steps.cibuildwheel-cache.outputs.dir }}
106
104
key : ${{ matrix.config.image }}-${{ matrix.config.arch }}-cibuildwheel
107
105
- name : Build wheels
108
- uses : pypa/cibuildwheel@95d2f3a92fbf80abe066b09418bbf128a8923df2 # v3.0.1
106
+ uses : pypa/cibuildwheel@c923d83ad9c1bc00211c5041d0c3f73294ff88f6 # v3.1.4
109
107
env :
110
108
CIBW_PROJECT_REQUIRES_PYTHON : " >=${{ needs.get_python_versions.outputs.min-python }}"
111
109
CIBW_ARCHS_LINUX : ${{ matrix.config.arch }}
@@ -133,7 +131,7 @@ jobs:
133
131
- build-linux
134
132
steps :
135
133
- name : load distribution 📦
136
- uses : actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
134
+ uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
137
135
with :
138
136
pattern : packages-*
139
137
merge-multiple : true
@@ -155,7 +153,7 @@ jobs:
155
153
- build-linux
156
154
steps :
157
155
- name : load distribution 📦
158
- uses : actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
156
+ uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
159
157
with :
160
158
pattern : packages-*
161
159
merge-multiple : true
@@ -171,13 +169,13 @@ jobs:
171
169
if : ${{ github.event_name == 'push' || (github.event.pull_request.author_association == 'COLLABORATOR' || github.event.pull_request.author_association == 'OWNER') }}
172
170
steps :
173
171
- name : Checkout repository
174
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
172
+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
175
173
with :
176
174
persist-credentials : false
177
175
# https://github.com/actions/checkout/
178
176
- name : Docker meta
179
177
id : meta
180
- uses : docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7 .0
178
+ uses : docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8 .0
181
179
# https://github.com/docker/metadata-action
182
180
with :
183
181
images : |
@@ -203,20 +201,20 @@ jobs:
203
201
# https://github.com/docker/setup-buildx-action
204
202
- name : Login to DockerHub
205
203
if : ${{ github.event_name == 'push' && github.repository == 'brian-team/brian2' && github.actor != 'dependabot[bot]'}}
206
- uses : docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4 .0
204
+ uses : docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5 .0
207
205
# https://github.com/docker/login-action
208
206
with :
209
207
username : ${{ secrets.DOCKERHUB_USERNAME }}
210
208
password : ${{ secrets.DOCKERHUB_TOKEN }}
211
209
- name : Login to GitHub Container Registry
212
210
if : ${{ github.event_name == 'push' && github.repository == 'brian-team/brian2' && github.actor != 'dependabot[bot]'}}
213
- uses : docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4 .0
211
+ uses : docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5 .0
214
212
with :
215
213
registry : ghcr.io
216
214
username : ${{ github.repository_owner }}
217
215
password : ${{ secrets.GITHUB_TOKEN }}
218
216
- name : load Linux x86 distribution 📦
219
- uses : actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
217
+ uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
220
218
with :
221
219
pattern : packages-linux-*
222
220
merge-multiple : true
0 commit comments