forked from freedomofpress/securedrop
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (37 loc) · 922 Bytes
/
security.yml
File metadata and controls
39 lines (37 loc) · 922 Bytes
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
name: Security
on:
push:
pull_request:
merge_group:
schedule:
- cron: '0 3 * * *'
jobs:
rust-audit:
runs-on: ubuntu-latest
# Keep version in sync with rust-toolchain.toml
container: rust:1.87.0
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Check Rust dependencies
run: |
make rust-audit
static-analysis-and-no-known-cves:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Install dependencies
run: |
pip install safety semgrep
- name: Check Python dependencies for CVEs
run: |
make safety
- name: Run static security testing on source code with semgrep
run: |
make semgrep