From f7116987924f165a535b393a6a12f4993d25977f Mon Sep 17 00:00:00 2001 From: Tpt Date: Fri, 17 Feb 2023 15:39:44 +0100 Subject: [PATCH] Installs cargo deny directly Swatinem/rust-cache seems better than EmbarkStudios/cargo-deny-action to cache binaries --- .github/workflows/tests.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 279e66e4..3bab77f6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -104,7 +104,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: EmbarkStudios/cargo-deny-action@v1 + - run: rustup update + - uses: Swatinem/rust-cache@v2 + - run: cargo install cargo-deny || true + - run: cargo deny check test_linux: runs-on: ubuntu-latest