Merge pull request #3611 from matklad/audit4

Fix cargo audit caching
This commit is contained in:
Aleksey Kladov 2020-03-16 18:23:58 +01:00 committed by GitHub
commit 985836b9d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,9 +29,10 @@ jobs:
- name: Cache cargo
uses: actions/cache@v1
with:
path: ~/.cargo
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