From 70e62a4fa7e9a9f92bca511bcb2138bbbd921eb4 Mon Sep 17 00:00:00 2001 From: sigoden Date: Mon, 10 Jul 2023 11:33:38 +0800 Subject: chore: update ci (#136) --- .github/workflows/ci.yaml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to '.github/workflows/ci.yaml') diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4fc84b3..b606b7a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -29,16 +29,12 @@ jobs: RUSTFLAGS: --deny warnings steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install Rust Toolchain Components - uses: actions-rs/toolchain@v1 - with: - components: clippy, rustfmt - override: true - toolchain: stable + uses: dtolnay/rust-toolchain@stable - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 - name: Test run: cargo test --all -- cgit v1.2.3