Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,11 @@ jobs:
container: public.ecr.aws/docker/library/rust:1

steps:
- name: Debug
run: echo ${{ github.ref_name }}
- name: Checkout
uses: actions/checkout@v6
with:
submodules: recursive

- name: Scan code with Trivy
uses: aquasecurity/trivy-action@0.35.0
with:
Expand All @@ -46,21 +45,30 @@ jobs:
ignore-unfixed: true
severity: "CRITICAL,HIGH,MEDIUM"
scanners: "vuln"

- name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.9

- name: Install protoc
run: apt-get update && apt-get -y install protobuf-compiler

- name: Check format
run: |
rustup component add rustfmt
cargo fmt -- --check

- name: Run clippy linter
run: |
rustup component add clippy
cargo clippy --all-targets --all-features -- -D warnings

- name: Install cargo extensions
uses: taiki-e/install-action@v2
with:
tool: cargo-deny

- name: Run cargo deny
run: |
cargo install cargo-deny
cargo deny check
run: cargo deny check

- name: Run tests
run: cargo test --locked --no-fail-fast
Loading
Loading