Skip to content

Commit

Permalink
Bump GHA versions
Browse files Browse the repository at this point in the history
  • Loading branch information
knutwalker committed Dec 19, 2024
1 parent eb4bec4 commit fdffcf1
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/create-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Set up Rust cache
Expand Down
50 changes: 25 additions & 25 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Setup Rust
Expand All @@ -57,7 +57,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Setup Rust
Expand All @@ -78,7 +78,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Setup Rust
Expand All @@ -101,7 +101,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Setup Rust
Expand All @@ -110,7 +110,7 @@ jobs:
toolchain: stable
- name: Set up Rust cache
uses: Swatinem/rust-cache@v2
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- run: pip install maturin
Expand All @@ -123,7 +123,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Setup Rust
Expand All @@ -132,7 +132,7 @@ jobs:
toolchain: stable
- name: Set up Rust cache
uses: Swatinem/rust-cache@v2
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- run: pip install maturin
Expand All @@ -150,7 +150,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Setup Rust
Expand All @@ -168,7 +168,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Setup Rust
Expand All @@ -188,7 +188,7 @@ jobs:
needs: test_python
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Setup Rust
Expand All @@ -197,7 +197,7 @@ jobs:
toolchain: stable
- name: Set up Rust cache
uses: Swatinem/rust-cache@v2
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
architecture: x64
Expand All @@ -211,7 +211,7 @@ jobs:
pip install dist/${{ env.PY_PACKAGE_NAME }}-*.whl --force-reinstall
python -c "import ${{ env.PY_PACKAGE_NAME }}"
- name: Upload wheels
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: wheels
path: dist
Expand All @@ -223,7 +223,7 @@ jobs:
needs: test_python
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Setup Rust
Expand All @@ -232,7 +232,7 @@ jobs:
toolchain: stable
- name: Set up Rust cache
uses: Swatinem/rust-cache@v2
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
architecture: x64
Expand All @@ -246,7 +246,7 @@ jobs:
pip install dist/${{ env.PY_PACKAGE_NAME }}-*universal2.whl --force-reinstall
python -c "import ${{ env.PY_PACKAGE_NAME }}"
- name: Upload wheels
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: wheels
path: dist
Expand All @@ -261,7 +261,7 @@ jobs:
target: [x64, x86]
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Setup Rust
Expand All @@ -270,7 +270,7 @@ jobs:
toolchain: stable
- name: Set up Rust cache
uses: Swatinem/rust-cache@v2
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
architecture: ${{ matrix.target }}
Expand All @@ -285,7 +285,7 @@ jobs:
python -m pip install dist/${{ env.PY_PACKAGE_NAME }}-*.whl --force-reinstall
python -c "import ${{ env.PY_PACKAGE_NAME }}"
- name: Upload wheels
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: wheels
path: dist
Expand All @@ -300,7 +300,7 @@ jobs:
target: [x86_64, i686]
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Setup Rust
Expand All @@ -309,7 +309,7 @@ jobs:
toolchain: stable
- name: Set up Rust cache
uses: Swatinem/rust-cache@v2
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
architecture: x64
Expand All @@ -325,7 +325,7 @@ jobs:
pip install dist/${{ env.PY_PACKAGE_NAME }}-*.whl --force-reinstall
python -c "import ${{ env.PY_PACKAGE_NAME }}"
- name: Upload wheels
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: wheels
path: dist
Expand All @@ -347,7 +347,7 @@ jobs:
- linux
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Setup Rust
Expand Down Expand Up @@ -378,10 +378,10 @@ jobs:
- windows
- linux
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: wheels
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
- name: Publish to PyPi
env:
TWINE_USERNAME: __token__
Expand All @@ -407,7 +407,7 @@ jobs:
- linux
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Setup Rust
Expand Down

0 comments on commit fdffcf1

Please sign in to comment.