From fe860f976e371adc45a0e753da707cc2b35f2979 Mon Sep 17 00:00:00 2001 From: Wonwoo Choi Date: Tue, 17 Sep 2024 08:49:10 +0900 Subject: [PATCH] Update GitHub Actions dependencies --- .github/workflows/pull_request.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index eaadc0c..9ed8f23 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -20,7 +20,7 @@ jobs: runs-on: [ubuntu-latest] steps: - name: Checkout the source - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Check AUTHORS file run: ./ci/pull_request_checks.sh @@ -29,21 +29,19 @@ jobs: name: Test, Format and Clippy runs-on: [ubuntu-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive - name: Install latest rust toolchain - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@stable with: components: clippy, rustfmt - toolchain: stable - override: true - name: Build artefact caching - uses: Swatinem/rust-cache@v2.0.0 + uses: Swatinem/rust-cache@v2.7.3 - - name: Format + - name: Format run: cargo fmt --all -- --check - name: Clippy