Skip to content

Commit 964dba3

Browse files
github: Switch cargo-deny job to use the docker action
This makes it easier to stay on the latest version of cargo-deny.
1 parent 8675dbc commit 964dba3

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -82,16 +82,11 @@ jobs:
8282

8383
cargo-deny:
8484
runs-on: ubuntu-latest
85-
env:
86-
cdver: 0.14.20
8785
steps:
8886
- uses: actions/checkout@v4
89-
# Download a pinned version of cargo-deny to make this CI job faster.
90-
- run: |
91-
curl --fail --location --output cargo-deny.tar.gz https://github.com/EmbarkStudios/cargo-deny/releases/download/$cdver/cargo-deny-$cdver-x86_64-unknown-linux-musl.tar.gz
92-
echo "1c9f8cfc23647346f1aa7ba0ed3167191f3198aba3dc5a957fda6f85a82fc424 cargo-deny.tar.gz" | sha256sum --check
93-
tar xvf cargo-deny.tar.gz
94-
cargo-deny-$cdver-x86_64-unknown-linux-musl/cargo-deny deny check
87+
- uses: EmbarkStudios/cargo-deny-action@v1
88+
with:
89+
arguments: --workspace --all-features
9590

9691
coverage:
9792
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)