File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ branches :
4+ - main
5+ pull_request :
6+ schedule : # daily at 04:00 UTC
7+ - cron : ' 0 4 * * *'
8+
9+ permissions :
10+ contents : read
11+
12+ name : govulncheck
13+ jobs :
14+ govulncheck :
15+
16+ runs-on : ubuntu-latest
17+ steps :
18+ - name : Checkout code
19+ uses : actions/checkout@v6
20+
21+ - name : Install Go
22+ id : install-go
23+ uses : actions/setup-go@v6
24+ with :
25+ go-version-file : go.mod
26+
27+ - name : Run govalncheck
28+ run : |
29+ go run golang.org/x/vuln/cmd/govulncheck@latest ./...
Original file line number Diff line number Diff line change 2323 uses : actions/setup-go@v6
2424 with :
2525 go-version : ${{ matrix.go-version }}
26+ check-latest : ' true'
2627
2728 - name : Download dependencies
2829 run : go mod download
Original file line number Diff line number Diff line change 11module github.com/hamba/cmd/v3
22
3- go 1.25.0
3+ go 1.25.7
44
55require (
66 github.com/ettle/strcase v0.2.0
You can’t perform that action at this time.
0 commit comments