File tree Expand file tree Collapse file tree 2 files changed +7
-29
lines changed
Expand file tree Collapse file tree 2 files changed +7
-29
lines changed Original file line number Diff line number Diff line change @@ -37,34 +37,10 @@ jobs:
3737 - name : Check Go version
3838 id : get-go-version
3939 run : |
40- echo "Reading from go.mod"
41- GO_VERSION=$(grep -E "^toolchain " go.mod | awk -F' ' '{print $2}' | tr -d 'go')
42- echo "Found $GO_VERSION"
43- echo "go-version="$GO_VERSION"" >> $GITHUB_OUTPUT
44-
45- - name : Setup Go environment
46- uses : actions/setup-go@v5
47- with :
48- go-version : ${{ steps.get-go-version.outputs.go-version }}
49- cache : true
50-
51- - name : Force Go Path
52- run : |
53- # This forces the version from setup-go to the top of the PATH for all future steps
54- echo "$(go env GOROOT)/bin" >> $GITHUB_PATH
55- echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
56-
57- - name : Install tools and run make generate
58- run : |
59- go version
60-
61- go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.32.0
62- go install github.com/maxbrunsfeld/counterfeiter/v6@v6.11.2
63- go install github.com/bufbuild/buf/cmd/buf@v1.30.1
64-
65- make generate GO=$(which go)
66- env :
67- GOTOOLCHAIN : local
40+ echo "Reading from go.mod"
41+ GO_VERSION=$(grep -E "^toolchain " go.mod | awk -F' ' '{print $2}' | tr -d 'go')
42+ echo "Found $GO_VERSION"
43+ echo "go-version="$GO_VERSION"" >> $GITHUB_OUTPUT
6844
6945 - name : Run govulncheck
7046 id : govulncheck
Original file line number Diff line number Diff line change 11module github.com/nginx/agent/v3
22
3- go 1.25.7
3+ go 1.25.0
4+
5+ toolchain go1.25.7
46
57require (
68 buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.9-20250912141014-52f32327d4b0.1
You can’t perform that action at this time.
0 commit comments