Skip to content

Commit 52f02df

Browse files
committed
Add govulncheck
Inspired by https://words.filippo.io/dependabot/
1 parent 80cd04a commit 52f02df

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/govulncheck.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: govulncheck
2+
on:
3+
push:
4+
pull_request:
5+
schedule: # daily at 11:22 UTC
6+
- cron: '22 11 * * *'
7+
workflow_dispatch:
8+
permissions:
9+
contents: read
10+
jobs:
11+
govulncheck:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v5
15+
with:
16+
persist-credentials: false
17+
- uses: actions/setup-go@v6
18+
with:
19+
go-version-file: go.mod
20+
- run: |
21+
go run golang.org/x/vuln/cmd/govulncheck@latest ./...

0 commit comments

Comments
 (0)