From 632d81d00073c7a17a3ff6e7d5af7046178588f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jihyeon=20Kim=20=28=EA=B9=80=EC=A7=80=ED=98=84=29?= Date: Fri, 4 Oct 2024 15:09:09 +0900 Subject: [PATCH] .github: Update GitHub Actions - Use actions/checkout@v4 instead of v3 - actions-rs/toolchain has been obsoleted for 4 years. Use dtolnay/rust-toolchain instead - Use stable toolchain instead of nightly - Cache builds to be green --- .github/workflows/test.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cc470c2..b5dce2e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,16 +7,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable with: - submodules: recursive - - - name: Install Rust nightly toolchain - uses: actions-rs/toolchain@v1 - with: - toolchain: nightly components: rustfmt, clippy - + - uses: Swatinem/rust-cache@v2 - name: Install cargo-audit run: cargo install cargo-audit