forked from darshanDevrai/brahmand
-
-
Notifications
You must be signed in to change notification settings - Fork 4
42 lines (35 loc) · 1.03 KB
/
security.yml
File metadata and controls
42 lines (35 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Security Audit
on:
pull_request:
branches: [ "main" ]
schedule:
# Run weekly on Monday at 08:00 UTC to catch new advisories
- cron: '0 8 * * 1'
workflow_dispatch:
jobs:
audit:
name: cargo audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.92.0
- name: Install cargo-audit
run: cargo install cargo-audit --locked --version 0.22.0
- name: Run cargo audit
# Ignore non-vulnerability warnings for transitive deps we can't control:
# - RUSTSEC-2025-0134: rustls-pemfile unmaintained (via chdb-rust → reqwest 0.11)
run: cargo audit --ignore RUSTSEC-2025-0134
deny:
name: cargo deny
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install cargo-deny
uses: EmbarkStudios/cargo-deny-action@v2
with:
command: check
log-level: warn
arguments: --all-features