diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index dbfa85b2088..4b9c4c8052a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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