aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-03-16 17:26:33 +0000
committerAleksey Kladov <[email protected]>2020-03-16 17:26:33 +0000
commit589100ad44dd8a182f7cf5828b90d772d7062a96 (patch)
treea98e6453fc788c34df63213c0b81501ecd3817a5 /.github/workflows
parenta69118edd59c5e19ab58fde5af10a9d115d0fd75 (diff)
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