File tree 4 files changed +18
-3
lines changed
4 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 33
33
- name : Install govulncheck
34
34
run : go install golang.org/x/vuln/cmd/govulncheck@latest
35
35
36
+ - name : Install jq
37
+ run : sudo apt-get update && sudo apt-get install -y jq
38
+
36
39
- name : Check for vulnerabilities
37
- run : $HOME/go/bin/govulncheck ./...
40
+ run : |
41
+ $HOME/go/bin/govulncheck -format json ./...|jq -r .finding.osv|grep -v null|sort -u >/tmp/vuln-cves
42
+ CVES="$(cat .govulncheck-ignorecves .govulncheck-ignorecves /tmp/vuln-cves|sort|uniq -u)"
43
+ if [ -n "$CVES" ]; then
44
+ echo >&2
45
+ echo "***" govulncheck CVES that are not ignored: $CVES "***" >&2
46
+ echo >&2
47
+ set -x
48
+ $HOME/go/bin/govulncheck -show verbose ./...
49
+ fi
38
50
39
51
- name : Build Source
40
52
run : go build ./...
Original file line number Diff line number Diff line change
1
+ GO-2025-3373
2
+ GO-2025-3420
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ require (
11
11
github.com/sebdah/goldie/v2 v2.5.5
12
12
github.com/sigstore/sigstore v1.8.12
13
13
github.com/spf13/cobra v1.8.1
14
- github.com/spf13/pflag v1.0.5
14
+ github.com/spf13/pflag v1.0.6
15
15
)
16
16
17
17
require (
Original file line number Diff line number Diff line change @@ -63,8 +63,9 @@ github.com/sigstore/sigstore v1.8.12 h1:S8xMVZbE2z9ZBuQUEG737pxdLjnbOIcFi5v9UFfk
63
63
github.com/sigstore/sigstore v1.8.12 /go.mod h1:+PYQAa8rfw0QdPpBcT+Gl3egKD9c+TUgAlF12H3Nmjo =
64
64
github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM =
65
65
github.com/spf13/cobra v1.8.1 /go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3kD9Y =
66
- github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA =
67
66
github.com/spf13/pflag v1.0.5 /go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg =
67
+ github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o =
68
+ github.com/spf13/pflag v1.0.6 /go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg =
68
69
github.com/stretchr/objx v0.1.0 /go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME =
69
70
github.com/stretchr/testify v1.3.0 /go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI =
70
71
github.com/stretchr/testify v1.4.0 /go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4 =
You can’t perform that action at this time.
0 commit comments