Skip to content

Commit

Permalink
chore: bump rust cache version in pipe
Browse files Browse the repository at this point in the history
  • Loading branch information
RouHim committed Aug 9, 2022
1 parent 7a9710f commit abd5e96
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
profile: minimal
toolchain: stable

- uses: Swatinem/rust-cache@v1 # use /rust/cargo caching
- uses: Swatinem/rust-cache@v2 # use /rust/cargo caching

- name: Check the code style
run: cargo fmt --all -- --check
Expand All @@ -72,7 +72,7 @@ jobs:
profile: minimal
toolchain: stable

- uses: Swatinem/rust-cache@v1 # use /rust/cargo caching
- uses: Swatinem/rust-cache@v2 # use /rust/cargo caching

- name: Verify code
run: cargo clippy
Expand All @@ -93,7 +93,7 @@ jobs:
profile: minimal
toolchain: stable

- uses: Swatinem/rust-cache@v1 # use /rust/cargo caching
- uses: Swatinem/rust-cache@v2 # use /rust/cargo caching

- name: Test code
run: cargo test
Expand All @@ -111,7 +111,7 @@ jobs:
profile: minimal
toolchain: nightly

- uses: Swatinem/rust-cache@v1 # use /rust/cargo caching
- uses: Swatinem/rust-cache@v2 # use /rust/cargo caching
continue-on-error: true # upload cache even if there are errors in this step

- name: Install cargo-udeps
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
toolchain: stable
target: x86_64-unknown-linux-musl

- uses: Swatinem/rust-cache@v1 # use /rust/cargo caching
- uses: Swatinem/rust-cache@v2 # use /rust/cargo caching

- name: Build application
run: cargo build --release --target x86_64-unknown-linux-musl
Expand Down

0 comments on commit abd5e96

Please sign in to comment.