ci: cache dependencies.
Some checks failed
Gitea Actions Demo / build (push) Failing after 8s
Gitea Actions Demo / docker (push) Has been skipped

This commit is contained in:
Ivan Li 2023-05-21 23:15:45 +08:00
parent e5d5d38a3e
commit 0d1dfbf589

View File

@ -15,7 +15,7 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
key: ${{ runner.os }}-cargo-${{ hashFiles('~/Cargo.lock') }}
- name: Check out repository code
uses: actions/checkout@v3