Skip to content

Commit e19eb79

Browse files
fixup/ci: audit and machete
1 parent e73d75b commit e19eb79

1 file changed

Lines changed: 23 additions & 1 deletion

File tree

.github/workflows/rust.yml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,4 +172,26 @@ jobs:
172172
- name: Check fmt
173173
run: cargo fmt --all -- --check
174174
- name: Clippy
175-
run: cargo clippy --all-targets -- -Dwarnings
175+
run: cargo clippy --all-targets -- -Dwarnings
176+
177+
security-audit:
178+
name: Security Audit
179+
runs-on: ubuntu-latest
180+
steps:
181+
- uses: actions/checkout@v4
182+
- uses: dtolnay/rust-toolchain@stable
183+
- name: Install cargo-audit
184+
run: cargo install cargo-audit
185+
- name: Run cargo-audit
186+
run: cargo audit
187+
188+
unused-dependencies:
189+
name: Check Unused Dependencies
190+
runs-on: ubuntu-latest
191+
steps:
192+
- uses: actions/checkout@v4
193+
- uses: dtolnay/rust-toolchain@stable
194+
- name: Install cargo-machete
195+
run: cargo install cargo-machete
196+
- name: Run cargo-machete
197+
run: cargo machete

0 commit comments

Comments
 (0)