Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
[HOTFIX] Set cache-all-crates to true
Browse files Browse the repository at this point in the history
  • Loading branch information
dorianpercic committed Apr 24, 2024
1 parent 59e9dc3 commit 7e356b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/linux_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
workspaces: "rust -> target"
cache-all-crates: "true"
- name: Rust Build
run: cd rust; cargo build --release

Expand All @@ -27,6 +28,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
workspaces: "rust -> target"
cache-all-crates: "true"
- name: Rust Clippy
run: cd rust; cargo clippy

Expand All @@ -38,6 +40,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
workspaces: "rust -> target"
cache-all-crates: "true"
- name: Rust Run tests
run: cd rust; cargo test

Expand All @@ -47,4 +50,4 @@ jobs:
- uses: actions/checkout@v4
- uses: rui314/setup-mold@v1
- name: Rust Format
run: cd rust; cargo fmt -- --check
run: cd rust; cargo fmt -- --check
2 changes: 2 additions & 0 deletions .github/workflows/windows_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
workspaces: "rust -> target"
cache-all-crates: "true"
- name: Rust Build
run: cd rust; cargo build --release

Expand All @@ -25,5 +26,6 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
workspaces: "rust -> target"
cache-all-crates: "true"
- name: Rust Run tests
run: cd rust; cargo test

0 comments on commit 7e356b4

Please sign in to comment.