Skip to content

Commit

Permalink
Clear CI caches
Browse files Browse the repository at this point in the history
  • Loading branch information
tustvold committed Jul 8, 2022
1 parent 658baf1 commit 63c7394
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/actions/setup-builder/action.yaml
Expand Up @@ -37,8 +37,8 @@ runs:
/usr/local/cargo/registry/index/
/usr/local/cargo/registry/cache/
/usr/local/cargo/git/db/
key: cargo-cache3-${{ hashFiles('**/Cargo.toml') }}
restore-keys: cargo-cache3-
key: cargo-cache-${{ hashFiles('**/Cargo.toml') }}
restore-keys: cargo-cache-
- name: Generate lockfile
shell: bash
run: cargo fetch
Expand All @@ -48,8 +48,8 @@ runs:
# these represent compiled steps of both dependencies and arrow
# and thus are specific for a particular OS, arch and rust version.
path: /github/home/target
key: ${{ runner.os }}-${{ runner.arch }}-target-cache3-${{ inputs.rust-version }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-${{ runner.arch }}-target-cache3-${{ inputs.rust-version }}-
key: ${{ runner.os }}-${{ runner.arch }}-target-cache-${{ inputs.rust-version }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-${{ runner.arch }}-target-cache-${{ inputs.rust-version }}-
- name: Install Build Dependencies
shell: bash
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/rust.yml
Expand Up @@ -262,13 +262,13 @@ jobs:
with:
path: /home/runner/.cargo
# this key is not equal because the user is different than on a container (runner vs github)
key: cargo-coverage-cache3-
key: cargo-coverage-cache-
- name: Cache Rust dependencies
uses: actions/cache@v3
with:
path: /home/runner/target
# this key is not equal because coverage uses different compilation flags.
key: ${{ runner.os }}-${{ matrix.arch }}-target-coverage-cache3-${{ matrix.rust }}-
key: ${{ runner.os }}-${{ matrix.arch }}-target-coverage-cache-${{ matrix.rust }}-
- name: Run coverage
run: |
export CARGO_HOME="/home/runner/.cargo"
Expand Down Expand Up @@ -309,12 +309,12 @@ jobs:
uses: actions/cache@v3
with:
path: /github/home/.cargo
key: cargo-wasm32-cache3-
key: cargo-wasm32-cache-
- name: Cache Rust dependencies
uses: actions/cache@v3
with:
path: /github/home/target
key: ${{ runner.os }}-${{ matrix.arch }}-target-wasm32-cache3-${{ matrix.rust }}
key: ${{ runner.os }}-${{ matrix.arch }}-target-wasm32-cache-${{ matrix.rust }}
- name: Setup Rust toolchain for WASM
run: |
rustup toolchain install ${{ matrix.rust }}
Expand Down

0 comments on commit 63c7394

Please sign in to comment.