From ab7542651b6ca05a112c380afc40207315e5f9d6 Mon Sep 17 00:00:00 2001 From: Alex Clarke Date: Mon, 28 Sep 2026 15:53:26 -0600 Subject: [PATCH] chore: bump GitHub Actions to Node 24 runtimes --- .github/workflows/check.yml | 10 +++---- .github/workflows/release.yml | 56 +++++++++++++++++------------------ .github/workflows/test.yml | 10 +++---- 3 files changed, 38 insertions(+), 38 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index e7848f84..7a0aa037 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Install Rust stable uses: dtolnay/rust-toolchain@stable @@ -46,7 +46,7 @@ jobs: toolchain: [stable, beta] steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Install Rust stable uses: dtolnay/rust-toolchain@stable @@ -54,7 +54,7 @@ jobs: components: clippy - name: Run clippy action - uses: clechasseur/rs-clippy-check@v3 + uses: clechasseur/rs-clippy-check@v5 - name: Cache Cargo dependencies uses: Swatinem/rust-cache@v2 @@ -65,7 +65,7 @@ jobs: name: nightly / doc runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Install Rust nightly uses: dtolnay/rust-toolchain@nightly @@ -79,7 +79,7 @@ jobs: name: 1.95.0 / check runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Install 1.95.0 uses: dtolnay/rust-toolchain@master diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4e89bfb1..3e9bc214 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,19 +32,19 @@ jobs: - name: Checkout repository if: env.ACT != 'true' - uses: actions/checkout@v3 + uses: actions/checkout@v5 with: ssh-key: ${{ secrets.RELEASE_BOT_SSH_KEY }} fetch-depth: 0 - name: Checkout repository if: env.ACT == 'true' - uses: actions/checkout@v3 + uses: actions/checkout@v5 with: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v6 with: python-version: '3.10' @@ -219,13 +219,13 @@ jobs: git push origin --follow-tags - name: Upload artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: path: artifacts - name: Upload the changed Cargo files (Act) if: env.ACT == 'true' - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: bumped-cargo-files path: | @@ -267,7 +267,7 @@ jobs: exit 1 - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 1 @@ -279,18 +279,18 @@ jobs: - name: Get bumped Cargo files (Act) if: env.ACT == 'true' - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: name: bumped-cargo-files path: ${{ github.workspace }} - - uses: actions/cache@v3 + - uses: actions/cache@v5 name: Cache Cargo registry with: path: ~/.cargo/registry key: ${{ runner.os }}-cargo-registry-${{ hashFiles('Cargo.lock') }} - - uses: actions/cache@v3 + - uses: actions/cache@v5 if: startsWith(matrix.job.name, 'linux-') with: path: ~/.cargo/bin @@ -375,7 +375,7 @@ jobs: cp target/${{ matrix.job.target }}/release/${{ env.RELEASE_NAME }}.sha256 artifacts/ - name: Upload artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: artifacts-${{ env.RELEASE_NAME }} path: artifacts @@ -393,12 +393,12 @@ jobs: exit 1 - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v5 with: fetch-depth: 0 - name: Download all artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: path: artifacts merge-multiple: true @@ -421,7 +421,7 @@ jobs: - name: Create a GitHub Release if: env.ACT != 'true' - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v3 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: @@ -457,7 +457,7 @@ jobs: prerelease: false - name: Upload artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: path: artifacts overwrite: true @@ -474,12 +474,12 @@ jobs: exit 1 - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 1 - name: Get release artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: path: artifacts merge-multiple: true @@ -528,12 +528,12 @@ jobs: exit 1 - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 1 - name: Get release artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: path: artifacts merge-multiple: true @@ -592,12 +592,12 @@ jobs: exit 1 - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 1 - name: Get release artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: path: artifacts merge-multiple: true @@ -618,20 +618,20 @@ jobs: echo "Release version: ${{ env.version }}" - name: Set up QEMU - uses: docker/setup-qemu-action@v3 + uses: docker/setup-qemu-action@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 - name: Login to Docker Hub if: env.ACT != 'true' - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Push to Docker Hub - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v7 with: context: . file: Dockerfile @@ -651,13 +651,13 @@ jobs: exit 1 - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 - name: Get bumped Cargo files (Act) if: env.ACT == 'true' - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: name: bumped-cargo-files path: ${{ github.workspace }} @@ -668,13 +668,13 @@ jobs: git fetch --all git pull - - uses: actions/cache@v3 + - uses: actions/cache@v5 name: Cache Cargo registry with: path: ~/.cargo/registry key: ${{ runner.os }}-cargo-registry-${{ hashFiles('Cargo.lock') }} - - uses: actions/cache@v3 + - uses: actions/cache@v5 with: path: ~/.cargo/bin key: ${{ runner.os }}-cargo-bin-${{ hashFiles('.github/workflows/release.yml') }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 226c2a9c..9ccc1307 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,7 +33,7 @@ jobs: # toolchain toolchain: [stable, beta] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Install ${{ matrix.toolchain }} uses: dtolnay/rust-toolchain@master @@ -74,7 +74,7 @@ jobs: # runs-on: ubuntu-latest # name: ubuntu / stable / minimal-versions # steps: - # - uses: actions/checkout@v4 + # - uses: actions/checkout@v5 # - name: Install Rust stable # uses: dtolnay/rust-toolchain@stable @@ -110,7 +110,7 @@ jobs: # - run: vcpkg install openssl:x64-windows-static-md # if: runner.os == 'Windows' - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Install Rust stable uses: dtolnay/rust-toolchain@stable @@ -151,7 +151,7 @@ jobs: name: ubuntu / stable / coverage steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Install Rust stable uses: dtolnay/rust-toolchain@stable @@ -176,7 +176,7 @@ jobs: - name: Upload to codecov.io if: env.ACT != 'true' - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v7 with: fail_ci_if_error: true token: ${{ secrets.CODECOV_TOKEN }}