Skip to content

Commit 6e0b6b1

Browse files
committed
Update GHA action versions
Updates the GitHub Actions versions to the latest ones available. Signed-off-by: Jordan Borean <[email protected]>
1 parent b72364d commit 6e0b6b1

File tree

3 files changed

+33
-29
lines changed

3 files changed

+33
-29
lines changed

.github/workflows/ci.yml

+30-26
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Check out code
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515

1616
- name: Select python
17-
uses: actions/setup-python@v4
17+
uses: actions/setup-python@v5
1818
with:
1919
python-version: 3.9
2020

@@ -28,9 +28,9 @@ jobs:
2828
GSSAPI_COMPILER_ARGS: ''
2929

3030
- name: Upload sdist
31-
uses: actions/upload-artifact@v3
31+
uses: actions/upload-artifact@v4
3232
with:
33-
name: artifact
33+
name: artifact-sdist
3434
path: ./dist/*.tar.gz
3535

3636
build_wheels:
@@ -107,9 +107,9 @@ jobs:
107107
echo "C:\Program Files${{ endsWith(matrix.version, '-win32') && ' (x86)' || '' }}\MIT\Kerberos\bin;$PATH" >> $GITHUB_PATH
108108
109109
- name: Download gssapi sdist
110-
uses: actions/download-artifact@v3
110+
uses: actions/download-artifact@v4
111111
with:
112-
name: artifact
112+
name: artifact-sdist
113113
path: ./
114114

115115
- name: Extract sdist
@@ -121,18 +121,18 @@ jobs:
121121
rm gssapi-*.tar.gz
122122
123123
- name: Build wheel
124-
uses: pypa/cibuildwheel@v2.15.0
124+
uses: pypa/cibuildwheel@v2.16.5
125125
env:
126126
CIBW_ARCHS: all
127127
CIBW_TEST_SKIP: '*_arm64'
128128
CIBW_BUILD: ${{ matrix.version }}
129129
CIBW_BUILD_VERBOSITY: 1
130130

131131
- name: Upload wheel
132-
uses: actions/upload-artifact@v3
132+
uses: actions/upload-artifact@v4
133133
with:
134134
path: ./wheelhouse/*.whl
135-
name: artifact
135+
name: artifact-wheel-${{ matrix.version }}
136136

137137
# To catch issues like this https://github.com/pythongssapi/python-gssapi/issues/327
138138
assertion_build:
@@ -142,9 +142,9 @@ jobs:
142142
runs-on: ubuntu-latest
143143
steps:
144144
- name: Download gssapi sdist
145-
uses: actions/download-artifact@v3
145+
uses: actions/download-artifact@v4
146146
with:
147-
name: artifact
147+
name: artifact-sdist
148148
path: ./dist
149149

150150
- name: Compile Python with assertions
@@ -199,12 +199,13 @@ jobs:
199199

200200
steps:
201201
- name: Check out code
202-
uses: actions/checkout@v3
202+
uses: actions/checkout@v4
203203

204204
- name: Download built project
205-
uses: actions/download-artifact@v3
205+
uses: actions/download-artifact@v4
206206
with:
207-
name: artifact
207+
pattern: artifact-*
208+
merge-multiple: true
208209
path: ./dist
209210

210211
- name: Test gssapi
@@ -249,16 +250,17 @@ jobs:
249250

250251
steps:
251252
- name: Check out code
252-
uses: actions/checkout@v3
253+
uses: actions/checkout@v4
253254

254255
- name: Download built project
255-
uses: actions/download-artifact@v3
256+
uses: actions/download-artifact@v4
256257
with:
257-
name: artifact
258+
pattern: artifact-*
259+
merge-multiple: true
258260
path: ./dist
259261

260262
- name: Install the right python
261-
uses: actions/setup-python@v4
263+
uses: actions/setup-python@v5
262264
with:
263265
python-version: ${{ matrix.pyenv }}
264266
architecture: ${{ matrix.arch }}
@@ -277,12 +279,13 @@ jobs:
277279
runs-on: macos-latest
278280
steps:
279281
- name: Check out code
280-
uses: actions/checkout@v3
282+
uses: actions/checkout@v4
281283

282284
- name: Download built project
283-
uses: actions/download-artifact@v3
285+
uses: actions/download-artifact@v4
284286
with:
285-
name: artifact
287+
pattern: artifact-*
288+
merge-multiple: true
286289
path: ./dist
287290

288291
- name: Test gssapi
@@ -308,12 +311,13 @@ jobs:
308311

309312
steps:
310313
- name: Check out code
311-
uses: actions/checkout@v3
314+
uses: actions/checkout@v4
312315

313316
- name: Download built project
314-
uses: actions/download-artifact@v3
317+
uses: actions/download-artifact@v4
315318
with:
316-
name: artifact
319+
pattern: artifact-*
320+
merge-multiple: true
317321
path: ./dist
318322

319323
- name: Create GitHub release artifact
@@ -330,10 +334,10 @@ jobs:
330334
run: echo "checksum=`ls tag_build/*.sha512sum | awk -F/ '{print $2}'`" >> $GITHUB_OUTPUT
331335

332336
- name: Upload tagged build artifact
333-
uses: actions/upload-artifact@v3
337+
uses: actions/upload-artifact@v4
334338
with:
335339
path: tag_build/${{ steps.tarball.outputs.tarball }}
336-
name: artifact
340+
name: release-asset
337341

338342
- name: Deploy stable docs
339343
if: startsWith(github.ref, 'refs/tags/v')

.github/workflows/deploy-docs.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Check out code
11-
uses: actions/checkout@v3
11+
uses: actions/checkout@v4
1212

1313
- name: Select python
14-
uses: actions/setup-python@v4
14+
uses: actions/setup-python@v5
1515
with:
1616
python-version: 3.9
1717

.github/workflows/stale.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/stale@v4.0.0
14+
- uses: actions/stale@v9.0.0
1515
id: stale
1616
with:
1717
days-before-stale: -1

0 commit comments

Comments
 (0)