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