Skip to content

Commit

Permalink
ci: Add shared cache of registry info and sources
Browse files Browse the repository at this point in the history
Should hopefully speed up compiling of the old versions.
  • Loading branch information
Techcable committed Sep 10, 2023
1 parent 6352de0 commit b495fc2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,15 @@ jobs:
with:
toolchain: ${{ matrix.rust }}
components: clippy

- uses: actions/cache@v3
name: Cache ~/.cargo registry info and sources
with:
key: cratesio-always-shared
path: |
~/.cache/registry
~/.cache/git
- name: Check
# A failing `cargo check` always ends the build
run: |
Expand Down

0 comments on commit b495fc2

Please sign in to comment.