From a4741aebb5ac4642d665fa74fb6ed38f051ac71f Mon Sep 17 00:00:00 2001 From: Ryan Foster Date: Sat, 13 Apr 2024 12:43:27 -0400 Subject: [PATCH] CI: Update first-party GitHub Actions Update first-party GitHub Actions from v2/v3 to v4. This should reduce warnings on CI. --- .github/workflows/build.yaml | 8 ++++---- .github/workflows/clippy.yml | 2 +- .github/workflows/full_test.yaml | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 1b3fb10..1f76972 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -15,7 +15,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Update rust toolchain run: rustup toolchain install stable --profile minimal @@ -27,7 +27,7 @@ jobs: run: cargo build -r - name: Upload results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: bouf-build-${{ matrix.os }} path: target/release/bouf* @@ -45,7 +45,7 @@ jobs: sparse-checkout: 'extra/nsis' - name: Download artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 - name: Package binaries run: | @@ -82,7 +82,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Update rust toolchain run: rustup toolchain install stable --profile minimal diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index 24e15da..0cbc017 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -17,7 +17,7 @@ jobs: statuses: write steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install Rust toolchain uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af #@v1 diff --git a/.github/workflows/full_test.yaml b/.github/workflows/full_test.yaml index b9b63c1..d2ca47e 100644 --- a/.github/workflows/full_test.yaml +++ b/.github/workflows/full_test.yaml @@ -9,7 +9,7 @@ jobs: name: Prepare OBS Release steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Update rust toolchain run: rustup toolchain install stable --profile minimal @@ -51,7 +51,7 @@ jobs: run: target/release/bouf --config extra/ci/config.toml --version 29.1.0-beta4 -i test/new -p test/old -o test/out --clear-output - name: Upload results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: obs_distribution path: test/out