Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GHA action versions #341

Merged
merged 1 commit into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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