Skip to content

Commit 175176c

Browse files
authored
Faster cargo deny and update dependencies (#264)
1 parent 169f75d commit 175176c

File tree

8 files changed

+973
-1564
lines changed

8 files changed

+973
-1564
lines changed

.github/workflows/test.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,11 @@ jobs:
3131
container: public.ecr.aws/docker/library/rust:1
3232

3333
steps:
34-
- name: Debug
35-
run: echo ${{ github.ref_name }}
3634
- name: Checkout
3735
uses: actions/checkout@v6
3836
with:
3937
submodules: recursive
38+
4039
- name: Scan code with Trivy
4140
uses: aquasecurity/trivy-action@0.35.0
4241
with:
@@ -46,21 +45,30 @@ jobs:
4645
ignore-unfixed: true
4746
severity: "CRITICAL,HIGH,MEDIUM"
4847
scanners: "vuln"
48+
4949
- name: Run sccache-cache
5050
uses: mozilla-actions/sccache-action@v0.0.9
51+
5152
- name: Install protoc
5253
run: apt-get update && apt-get -y install protobuf-compiler
54+
5355
- name: Check format
5456
run: |
5557
rustup component add rustfmt
5658
cargo fmt -- --check
59+
5760
- name: Run clippy linter
5861
run: |
5962
rustup component add clippy
6063
cargo clippy --all-targets --all-features -- -D warnings
64+
65+
- name: Install cargo extensions
66+
uses: taiki-e/install-action@v2
67+
with:
68+
tool: cargo-deny
69+
6170
- name: Run cargo deny
62-
run: |
63-
cargo install cargo-deny
64-
cargo deny check
71+
run: cargo deny check
72+
6573
- name: Run tests
6674
run: cargo test --locked --no-fail-fast

0 commit comments

Comments
 (0)