Update rust-cache action
parent
63f8c03cbd
commit
5e4ab2e16d
|
@ -19,7 +19,7 @@ jobs:
|
|||
with:
|
||||
mdbook-version: 'latest'
|
||||
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
|
||||
- run: |
|
||||
cd book
|
||||
|
|
|
@ -29,7 +29,7 @@ jobs:
|
|||
profile: minimal
|
||||
override: true
|
||||
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
|
||||
- name: check
|
||||
uses: actions-rs/cargo@v1
|
||||
|
@ -54,7 +54,7 @@ jobs:
|
|||
components: rustfmt, clippy
|
||||
override: true
|
||||
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
|
||||
- name: fmt
|
||||
run: cargo fmt --all -- --check
|
||||
|
|
Loading…
Reference in New Issue