-
Notifications
You must be signed in to change notification settings - Fork 704
38 lines (36 loc) · 889 Bytes
/
security.yml
File metadata and controls
38 lines (36 loc) · 889 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
name: Security
on:
push:
branches: ["develop", "release/**"]
pull_request:
types: ["opened", "synchronize"]
merge_group:
schedule:
- cron: '0 3 * * *'
jobs:
rust-audit:
runs-on: ubuntu-latest
# Keep version in sync with rust-toolchain.toml
container: rust:1.90.0
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- name: Check Rust dependencies
run: |
make rust-audit
static-analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: actions/setup-python@v6
with:
python-version: '3.12'
- name: Install dependencies
run: |
pip install semgrep
- name: Run static security testing on source code with semgrep
run: |
make semgrep