Skip to content

Commit

Permalink
feat: [#165] upgrade workflow action: Swatinem/rust-cache@v2
Browse files Browse the repository at this point in the history
  • Loading branch information
josecelano committed Feb 1, 2023
1 parent 2ad519b commit 10c7d57
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish_crate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
profile: minimal
toolchain: stable
components: llvm-tools-preview
- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2
- name: Run Tests
run: cargo test

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
profile: minimal
toolchain: stable
components: llvm-tools-preview
- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2
- name: Run Tests
run: cargo test

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test_build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
toolchain: nightly
override: true
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2
- name: Check Rust Formatting
uses: actions-rs/cargo@v1
with:
Expand All @@ -35,7 +35,7 @@ jobs:
profile: minimal
toolchain: stable
components: llvm-tools-preview
- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2
- name: Check Rust Code
uses: actions-rs/cargo@v1
with:
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
with:
profile: minimal
toolchain: stable
- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2
- name: Build Torrust Tracker
run: cargo build --release
- name: Upload Build Artifact
Expand Down

0 comments on commit 10c7d57

Please sign in to comment.