Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1476 from cloudflare/avery/remove-caching-again
Browse files Browse the repository at this point in the history
remove caching from tests for real
  • Loading branch information
EverlastingBugstopper authored Aug 3, 2020
2 parents 49688ad + f8495ea commit 520a10c
Showing 1 changed file with 24 additions and 21 deletions.
45 changes: 24 additions & 21 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,29 +29,32 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Cache Cargo registry
uses: actions/cache@v2
with:
path: ~/.cargo/registry
key: ${{ matrix.build }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ matrix.build }}-cargo-registry-
# for some reason our caching is causing flakiness
# temporarily disable it

- name: Cache Cargo index
uses: actions/cache@v2
with:
path: ~/.cargo/git
key: ${{ matrix.build }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ matrix.build }}-cargo-index-
# - name: Cache Cargo registry
# uses: actions/cache@v2
# with:
# path: ~/.cargo/registry
# key: ${{ matrix.build }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
# restore-keys: |
# ${{ matrix.build }}-cargo-registry-

- name: Cache Cargo build
uses: actions/cache@v2
with:
path: target
key: ${{ matrix.build }}-target-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ matrix.build }}-target-
# - name: Cache Cargo index
# uses: actions/cache@v2
# with:
# path: ~/.cargo/git
# key: ${{ matrix.build }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
# restore-keys: |
# ${{ matrix.build }}-cargo-index-

# - name: Cache Cargo build
# uses: actions/cache@v2
# with:
# path: target
# key: ${{ matrix.build }}-target-${{ hashFiles('**/Cargo.lock') }}
# restore-keys: |
# ${{ matrix.build }}-target-

- name: Install Rust
run: |
Expand Down

0 comments on commit 520a10c

Please sign in to comment.