diff options
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/ci.yaml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4b9c4c805..1602b6b9f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml | |||
@@ -26,13 +26,14 @@ jobs: | |||
26 | - name: Checkout repository | 26 | - name: Checkout repository |
27 | uses: actions/checkout@v2 | 27 | uses: actions/checkout@v2 |
28 | 28 | ||
29 | - run: sudo chown -R $(whoami):$(id -ng) ~/.cargo/ | ||
30 | |||
29 | - name: Cache cargo | 31 | - name: Cache cargo |
30 | uses: actions/cache@v1 | 32 | uses: actions/cache@v1 |
31 | with: | 33 | with: |
32 | path: ~/.cargo/ | 34 | path: ~/.cargo/ |
33 | key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | 35 | key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} |
34 | 36 | ||
35 | - run: sudo chown -R $(whoami):$(id -ng) ~/.cargo/ | ||
36 | - run: cargo install cargo-audit | 37 | - run: cargo install cargo-audit |
37 | - run: cargo audit | 38 | - run: cargo audit |
38 | 39 | ||