Skip to content

Commit

Permalink
build: Don't make git workspace dirty when cache hashing
Browse files Browse the repository at this point in the history
  • Loading branch information
taoky committed Aug 26, 2024
1 parent e7b4a7c commit 39979de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
~/.cargo/registry/cache
~/.cargo/git
target
key: musl-cargo-${{ hashFiles('**/Cargo.toml.cache') }}
key: musl-cargo-${{ hashFiles('./Cargo.toml.cache') }}
- name: Run fileserver
run: |
fixtures/start_fileserver.sh &
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/target
Cargo.toml.cache

0 comments on commit 39979de

Please sign in to comment.