There was an error while loading. Please reload this page.
1 parent 554d6a1 commit 03025d2Copy full SHA for 03025d2
1 file changed
.github/workflows/security.yml
@@ -0,0 +1,36 @@
1
+name: Security
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
7
+permissions:
8
+ actions: read
9
+ contents: read
10
+ security-events: write
11
12
+jobs:
13
+ codeql:
14
+ name: CodeQL Analysis
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - uses: actions/checkout@v4
18
19
+ - name: Initialize CodeQL
20
+ uses: github/codeql-action/init@v3
21
+ with:
22
+ languages: actions
23
24
+ - name: Perform CodeQL Analysis
25
+ uses: github/codeql-action/analyze@v3
26
27
+ cargo-audit:
28
+ name: Dependency Audit
29
30
31
32
+ - uses: dtolnay/rust-toolchain@stable
33
+ - name: Install cargo-audit
34
+ run: cargo install cargo-audit
35
+ - name: Run cargo audit
36
+ run: cargo audit
0 commit comments