Skip to content

Commit

Permalink
change cargo config to use sparse index; clean gh actions rust cache
Browse files Browse the repository at this point in the history
  • Loading branch information
tlowerison committed Nov 5, 2023
1 parent 1cb49dd commit 3802017
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[registries.crates-io]
protocol = "sparse"
2 changes: 1 addition & 1 deletion .github/workflows/continuous_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- uses: Swatinem/rust-cache@v2
with:
prefix-key: "v1-rust"
prefix-key: "v2-rust"
save-if: ${{ github.ref == 'refs/heads/main' }}

- name: Checkout repository
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:

- uses: Swatinem/rust-cache@v2
with:
prefix-key: "v1-rust"
save-if: ${{ github.ref == 'refs/heads/main' }}

- run: cargo install cargo-machete --locked
Expand Down

0 comments on commit 3802017

Please sign in to comment.