diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index af2af75..25f28bc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,8 +27,9 @@ jobs: - name: Install rust uses: dsherret/rust-toolchain-file@v1 - - name: Cache - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 + with: + save-if: ${{ github.ref == 'refs/heads/main' }} - name: Install up Deno uses: denoland/setup-deno@v1 diff --git a/rust-toolchain.toml b/rust-toolchain.toml index a638d0d..2fe83e3 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.67.0" +channel = "1.71.0" components = [ "clippy", "rustfmt" ] \ No newline at end of file