Skip to content

Commit

Permalink
Bump github actions versions to silence node version warning (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
peytondmurray authored May 22, 2024
1 parent f8e729c commit 2a574f9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up rust toolchain
uses: dtolnay/rust-toolchain@stable
Expand All @@ -18,7 +18,7 @@ jobs:
uses: Swatinem/rust-cache@v2

- name: Set up python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.11'

Expand Down
22 changes: 13 additions & 9 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up rust toolchain
uses: dtolnay/rust-toolchain@stable
Expand All @@ -24,7 +24,7 @@ jobs:
uses: Swatinem/rust-cache@v2

- name: Set up python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.12'

Expand All @@ -41,9 +41,9 @@ jobs:
twine check wheelhouse/*
- name: Upload sdist
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-sdist
path: ./wheelhouse/*.tar.gz

build_wheels:
Expand All @@ -66,10 +66,10 @@ jobs:
runs-on: ${{ format('{0}-latest', matrix.os) }}
steps:
- name: Check out the repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.12'

Expand Down Expand Up @@ -119,9 +119,9 @@ jobs:
twine check wheelhouse/*
- name: Upload wheels
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-${{ matrix.os }}-${{ matrix.python-version }}
path: ./wheelhouse/*.whl

upload_to_pypi:
Expand All @@ -136,7 +136,11 @@ jobs:
id-token: write
steps:
- name: Retrieve wheels and sdist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
pattern: wheels-*
merge-multiple: true
path: wheels/

- name: List the build artifacts
run: |
Expand Down

0 comments on commit 2a574f9

Please sign in to comment.