Skip to content

Commit

Permalink
Update GHA action versions
Browse files Browse the repository at this point in the history
Updates the GitHub Actions versions to the latest ones available.

Signed-off-by: Jordan Borean <jborean93@gmail.com>
  • Loading branch information
jborean93 committed Jan 31, 2024
1 parent b72364d commit 6e0b6b1
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 29 deletions.
56 changes: 30 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Select python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.9

Expand All @@ -28,9 +28,9 @@ jobs:
GSSAPI_COMPILER_ARGS: ''

- name: Upload sdist
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: artifact
name: artifact-sdist
path: ./dist/*.tar.gz

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

- name: Extract sdist
Expand All @@ -121,18 +121,18 @@ jobs:
rm gssapi-*.tar.gz
- name: Build wheel
uses: pypa/cibuildwheel@v2.15.0
uses: pypa/cibuildwheel@v2.16.5
env:
CIBW_ARCHS: all
CIBW_TEST_SKIP: '*_arm64'
CIBW_BUILD: ${{ matrix.version }}
CIBW_BUILD_VERBOSITY: 1

- name: Upload wheel
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl
name: artifact
name: artifact-wheel-${{ matrix.version }}

# To catch issues like this https://github.com/pythongssapi/python-gssapi/issues/327
assertion_build:
Expand All @@ -142,9 +142,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download gssapi sdist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: artifact
name: artifact-sdist
path: ./dist

- name: Compile Python with assertions
Expand Down Expand Up @@ -199,12 +199,13 @@ jobs:

steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download built project
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: artifact
pattern: artifact-*
merge-multiple: true
path: ./dist

- name: Test gssapi
Expand Down Expand Up @@ -249,16 +250,17 @@ jobs:

steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download built project
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: artifact
pattern: artifact-*
merge-multiple: true
path: ./dist

- name: Install the right python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.pyenv }}
architecture: ${{ matrix.arch }}
Expand All @@ -277,12 +279,13 @@ jobs:
runs-on: macos-latest
steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download built project
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: artifact
pattern: artifact-*
merge-multiple: true
path: ./dist

- name: Test gssapi
Expand All @@ -308,12 +311,13 @@ jobs:

steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download built project
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: artifact
pattern: artifact-*
merge-multiple: true
path: ./dist

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

- name: Upload tagged build artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: tag_build/${{ steps.tarball.outputs.tarball }}
name: artifact
name: release-asset

- name: Deploy stable docs
if: startsWith(github.ref, 'refs/tags/v')
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Select python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.9

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/stale@v4.0.0
- uses: actions/stale@v9.0.0
id: stale
with:
days-before-stale: -1
Expand Down

0 comments on commit 6e0b6b1

Please sign in to comment.