Skip to content

Commit 8659125

Browse files
committed
Add govulncheck GH workflow
Runs on pull requests and daily at 06:23 UTC. The idea is to catch newly disclosed vulnerabilities in our code. Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
1 parent 45e4ef5 commit 8659125

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/govulncheck.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: govulncheck
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
schedule:
9+
- cron: '23 6 * * *'
10+
11+
jobs:
12+
govulncheck:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v7
18+
19+
- name: Set up Go
20+
uses: actions/setup-go@v6
21+
with:
22+
go-version-file: "go.mod"
23+
24+
- name: Run govulncheck
25+
run: make govulncheck

0 commit comments

Comments
 (0)