From c60dd0d3ca1a661e5a9c101b6437df4e0145f665 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 7b2f498f..02de5e55 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 semver_checks: runs-on: ubuntu-latest