From 9249fa67b8efa98f16e14c5693af6234fa9a3bd3 Mon Sep 17 00:00:00 2001 From: Luke Street Date: Wed, 13 Mar 2024 18:31:42 -0600 Subject: [PATCH] ci: Update actions versions --- .github/workflows/build.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c931eb1..626c8f2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,7 @@ jobs: RUSTFLAGS: -D warnings steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Rust toolchain uses: dtolnay/rust-toolchain@stable with: @@ -37,7 +37,7 @@ jobs: RUSTFLAGS: -D warnings steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Rust toolchain # We use nightly options in rustfmt.toml uses: dtolnay/rust-toolchain@nightly @@ -57,7 +57,7 @@ jobs: # Prevent new advisories from failing CI continue-on-error: ${{ matrix.checks == 'advisories' }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: EmbarkStudios/cargo-deny-action@v1 with: command: check ${{ matrix.checks }} @@ -71,7 +71,7 @@ jobs: runs-on: ${{ matrix.platform }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Rust toolchain uses: dtolnay/rust-toolchain@stable - name: Cargo test @@ -118,7 +118,7 @@ jobs: runs-on: ${{ matrix.platform }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Check git tag against Cargo version if: startsWith(github.ref, 'refs/tags/') shell: bash @@ -147,7 +147,7 @@ jobs: - name: Cargo build run: cargo ${{ matrix.build }} --profile ${{ env.BUILD_PROFILE }} --all-features --target ${{ matrix.target }} --bin ${{ env.CARGO_BIN_NAME }} - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.name }} path: | @@ -164,7 +164,7 @@ jobs: needs: [ build ] steps: - name: Download artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: artifacts - name: Rename artifacts @@ -176,6 +176,6 @@ jobs: done ls -R ../out - name: Release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: files: out/*