From 589100ad44dd8a182f7cf5828b90d772d7062a96 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 16 Mar 2020 18:26:33 +0100 Subject: [PATCH] Fix audit caching better --- .github/workflows/ci.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4b9c4c8052..1602b6b9f7 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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