Skip to content

Commit

Permalink
Make the CI cache key ignore our Cargo.lock file
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-F-Bryan committed Mar 1, 2022
1 parent 56a6261 commit df327c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-${{ github.workflow }}-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.os }}-${{ github.workflow }}-${{ github.job }}
- name: Update Rustup
run: |
# We need to update rustup because the mac version is out of date and
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-${{ github.workflow }}-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.os }}-${{ github.workflow }}-${{ github.job }}
- uses: actions/setup-python@v2
with:
python-version: "3.6"
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
~/.cargo/git
target
bindings/web/node_modules
key: ${{ runner.os }}-${{ github.workflow }}-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.os }}-${{ github.workflow }}-${{ github.job }}
- name: Setup Rust
run: rustup show
- name: check @hotg-ai/rune
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ runner.os }}-${{ github.workflow }}-${{ github.job }}-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.os }}-${{ github.workflow }}-${{ github.job }}
- name: Setup Rust
run: rustup show
- uses: actions-rs/install@v0.1
Expand Down

0 comments on commit df327c3

Please sign in to comment.