Merge pull request #3612 from matklad/audit5

Fix audit caching better
This commit is contained in:
Aleksey Kladov 2020-03-16 18:34:08 +01:00 committed by GitHub
commit d3773ec152
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,13 +26,14 @@ jobs:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v2 uses: actions/checkout@v2
- run: sudo chown -R $(whoami):$(id -ng) ~/.cargo/
- name: Cache cargo - name: Cache cargo
uses: actions/cache@v1 uses: actions/cache@v1
with: with:
path: ~/.cargo/ path: ~/.cargo/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- run: sudo chown -R $(whoami):$(id -ng) ~/.cargo/
- run: cargo install cargo-audit - run: cargo install cargo-audit
- run: cargo audit - run: cargo audit