Skip to content

Commit

Permalink
Cache crates.io index on MSRV because non-sparse index is slow.
Browse files Browse the repository at this point in the history
  • Loading branch information
de-vri-es committed Mar 4, 2024
1 parent 25e1f78 commit bdf88d6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@ jobs:
name: Build an test with MSRV (1.65.0)
runs-on: ubuntu-latest
steps:
- name: Restore cached crates.io index
uses: actions/cache@v3
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
key: ${{ runner.os }}-cargo
- name: Checkout code
uses: actions/checkout@master
- name: Install MSRV toolchain
Expand Down

0 comments on commit bdf88d6

Please sign in to comment.