|
|
@@ -33,17 +33,18 @@ jobs:
|
|
|
- name: Test project
|
|
|
run: cargo test --all-targets
|
|
|
|
|
|
- # - name: Install cargo-audit
|
|
|
- # run: cargo install cargo-audit
|
|
|
- # - name: Audit dependencies for vulnerabilities
|
|
|
- # run: cargo audit
|
|
|
-
|
|
|
- # - name: Install cargo-deny
|
|
|
- # run: cargo install cargo-deny
|
|
|
- # - name: Check bans, licenses, and advisories with cargo-deny
|
|
|
- # run: cargo deny check
|
|
|
-
|
|
|
- name: Check documentation
|
|
|
run: cargo doc --no-deps --document-private-items
|
|
|
env:
|
|
|
RUSTDOCFLAGS: -D warnings
|
|
|
+
|
|
|
+ audit:
|
|
|
+ runs-on: ubuntu-latest
|
|
|
+ steps:
|
|
|
+ - name: Checkout
|
|
|
+ uses: actions/checkout@v4
|
|
|
+
|
|
|
+ - name: Security audit
|
|
|
+ uses: rustsec/audit-check@v2
|
|
|
+ with:
|
|
|
+ token: ${{ secrets.GITHUB_TOKEN }}
|