mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Fix audit caching better
This commit is contained in:
parent
a69118edd5
commit
589100ad44
3
.github/workflows/ci.yaml
vendored
3
.github/workflows/ci.yaml
vendored
@ -26,13 +26,14 @@ jobs:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- run: sudo chown -R $(whoami):$(id -ng) ~/.cargo/
|
||||
|
||||
- name: Cache cargo
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: ~/.cargo/
|
||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||
|
||||
- run: sudo chown -R $(whoami):$(id -ng) ~/.cargo/
|
||||
- run: cargo install cargo-audit
|
||||
- run: cargo audit
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user