Skip to content

Commit

Permalink
Add dependency review with cargo-deny, replace cargo-audit, too
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Aug 13, 2024
1 parent bae9d08 commit 17f0545
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,8 @@ jobs:
with:
components: clippy
- uses: Swatinem/rust-cache@v2
# - name: Dependency Licenses Review
# run: make check-dependency-licenses
- name: Run cargo audit
uses: rustsec/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Dependency Licenses Review
run: cargo deny check
# https://doc.rust-lang.org/stable/clippy/continuous_integration/github_actions.html
- name: Run Clippy
run: cargo clippy --all-targets --all-features
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Build all binaries
run: cargo build --locked
run: cargo build --locked --all-features

test:
name: Test
Expand Down
2 changes: 1 addition & 1 deletion shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ with pkgs;
mkShell {
nativeBuildInputs = [
cargo
cargo-audit
cargo-deny
clippy
pkg-config
rustc
Expand Down

0 comments on commit 17f0545

Please sign in to comment.