Skip to content

Commit 2d6d2e9

Browse files
authored
Scan code with govulncheck (#35)
1 parent 8277863 commit 2d6d2e9

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/security.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Security Scan
2+
3+
on:
4+
schedule:
5+
# Every Monday at 1PM UTC
6+
- cron: "0 13 * * 1"
7+
push:
8+
branches: [main]
9+
pull_request:
10+
branches: [main]
11+
12+
jobs:
13+
vulncheck:
14+
name: Scan for vulnerabilities in Go code
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: govulncheck
18+
uses: golang/govulncheck-action@v1
19+
with:
20+
go-version-input: 1.21.4
21+
go-package: ./...

0 commit comments

Comments
 (0)