Skip to content

Commit 0f48343

Browse files
authored
Merge pull request #1878 from rexagod/1858-1857
Detect vulns actually used by KSM
2 parents 32f08e3 + 1736469 commit 0f48343

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/cron.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: cron
2+
3+
on:
4+
schedule:
5+
# Run every Monday
6+
- cron: '0 0 * * 1'
7+
8+
env:
9+
GO_VERSION: "^1.19"
10+
11+
jobs:
12+
ci-security-checks:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v3
16+
name: Checkout code
17+
- name: Set up Go 1.x
18+
uses: actions/setup-go@v3
19+
with:
20+
go-version: ${{ env.GO_VERSION }}
21+
- name: Install govulncheck binary
22+
run: |
23+
go install golang.org/x/vuln/cmd/govulncheck@latest
24+
- name: Run security checks
25+
run: |
26+
govulncheck -v ./...

0 commit comments

Comments
 (0)