Update rust-cache action

main
Jan-Erik Rediger 2022-11-01 19:03:19 +01:00
parent 63f8c03cbd
commit 5e4ab2e16d
2 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ jobs:
with: with:
mdbook-version: 'latest' mdbook-version: 'latest'
- uses: Swatinem/rust-cache@v1 - uses: Swatinem/rust-cache@v2
- run: | - run: |
cd book cd book

View File

@ -29,7 +29,7 @@ jobs:
profile: minimal profile: minimal
override: true override: true
- uses: Swatinem/rust-cache@v1 - uses: Swatinem/rust-cache@v2
- name: check - name: check
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
@ -54,7 +54,7 @@ jobs:
components: rustfmt, clippy components: rustfmt, clippy
override: true override: true
- uses: Swatinem/rust-cache@v1 - uses: Swatinem/rust-cache@v2
- name: fmt - name: fmt
run: cargo fmt --all -- --check run: cargo fmt --all -- --check