Skip to content

Commit

Permalink
Re-enabled the rust cargo index and registry caches because
Browse files Browse the repository at this point in the history
cargo was downloading them just for nothing.
ankitects#528
  • Loading branch information
evandrocoan committed Mar 27, 2020
1 parent 04beb7c commit 36229f5
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,17 +107,17 @@ jobs:
# path: ${{ matrix.PIP_WHEELS_DIR }}
# key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}-12-

# - name: Cache cargo index
# uses: actions/cache@v1
# with:
# path: ${{ matrix.CARGO_INDEX_DIR }}
# key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.toml') }}-12-
- name: Cache cargo index
uses: actions/cache@v1
with:
path: ${{ matrix.CARGO_INDEX_DIR }}
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.toml') }}-12-

# - name: Cache cargo registry
# uses: actions/cache@v1
# with:
# path: ${{ matrix.CARGO_REGISTRY_DIR }}
# key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.toml') }}-12-
- name: Cache cargo registry
uses: actions/cache@v1
with:
path: ${{ matrix.CARGO_REGISTRY_DIR }}
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.toml') }}-12-

- name: Cache cargo target
uses: actions/cache@v1
Expand Down

0 comments on commit 36229f5

Please sign in to comment.