aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-03-16 17:34:08 +0000
committerGitHub <[email protected]>2020-03-16 17:34:08 +0000
commitd3773ec1522681de117d354f0c82e753c68c6d0b (patch)
treea98e6453fc788c34df63213c0b81501ecd3817a5 /.github/workflows
parent985836b9d3e84b4afee0fbc771e242f2666694a4 (diff)
parent589100ad44dd8a182f7cf5828b90d772d7062a96 (diff)
Merge pull request #3612 from matklad/audit5
Fix audit caching better
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yaml3
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