Skip to content

Commit 9d6f9a2

Browse files
authored
ci: security (#133)
* ci: add security audit job to workflow
1 parent 04a0a2c commit 9d6f9a2

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,23 @@ jobs:
132132

133133
- name: Run tests with coverage
134134
run: cargo llvm-cov --all-features
135+
136+
security_audit:
137+
name: Security Audit
138+
runs-on: ubuntu-latest
139+
steps:
140+
- uses: actions/checkout@v4
141+
142+
- name: Install Rust
143+
uses: dtolnay/rust-toolchain@stable
144+
145+
- uses: Swatinem/rust-cache@v2
146+
147+
- name: Install cargo-audit
148+
run: cargo install cargo-audit
149+
150+
- name: Run cargo-audit
151+
run: cargo audit
135152

136153
doc:
137154
name: Generate Documentation

0 commit comments

Comments
 (0)