Skip to content

Commit 06c9569

Browse files
committed
adding make generate in Vuln step
1 parent 699ea8c commit 06c9569

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/vulncheck.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,15 @@ jobs:
4242
echo "Found $GO_VERSION"
4343
echo "go-version="$GO_VERSION"" >> $GITHUB_OUTPUT
4444
45+
- name: Install tools and run make generate
46+
run: |
47+
make install-tools
48+
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
49+
export PATH=$PATH:$(go env GOPATH)/bin
50+
make generate
51+
env:
52+
GOTOOLCHAIN: local
53+
4554
- name: Run govulncheck
4655
id: govulncheck
4756
uses: golang/govulncheck-action@b625fbe08f3bccbe446d94fbf87fcc875a4f50ee # v1.0.4

test/helpers/go_utils_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
)
1414

1515
func TestGoVersion(t *testing.T) {
16-
expected := "1.24.0"
16+
expected := "1.25.7"
1717

1818
actual, err := GoVersion(t, 2)
1919

0 commit comments

Comments
 (0)