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
29 changes: 27 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,32 @@ jobs:
run: cargo check -p attested-tls --locked

- name: Run cargo clippy
run: cargo clippy --workspace --features attested-tls/ws,attested-tls/rpc --locked -- -D warnings
run: cargo clippy --workspace --features attested-tls/ws --locked -- -D warnings

- name: Run cargo test
run: cargo test --workspace --features attested-tls/ws,attested-tls/rpc --all-targets --locked -- --test-threads=1
run: cargo test --workspace --features attested-tls/ws --all-targets --locked -- --test-threads=1

dependency_checks:
runs-on: ubuntu-latest
permissions:
contents: read

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable

- name: Install dependency checks
id: install_checks
run: cargo install --locked cargo-audit@0.22.1 cargo-deny@0.22.0

- name: Run cargo audit
run: cargo audit --file Cargo.lock

- name: Run cargo deny
if: ${{ !cancelled() && steps.install_checks.outcome == 'success' }}
run: cargo deny --locked --features attested-tls/ws check bans licenses sources
Loading
Loading