Skip to content

Commit

Permalink
ci: Add a registry cache for git protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
cuviper committed Feb 10, 2024
1 parent bd4269b commit 6659d0c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Cache the registry
uses: actions/cache@v4
if: startsWith(matrix.rust, '1')
with:
path: ~/.cargo/registry/index
key: cargo-${{ matrix.rust }}-git-index

- name: Set up Rust
uses: dtolnay/rust-toolchain@master
with:
Expand Down

0 comments on commit 6659d0c

Please sign in to comment.