Skip to content

Commit 4d55fe1

Browse files
committed
DONOTMERGE: Test the same version stanza on a job executed on PR
1 parent 90e3c7f commit 4d55fe1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,11 @@ jobs:
270270
name: govulncheck
271271
steps:
272272
- uses: actions/checkout@v4
273-
- uses: ./.github/actions/set-go-version-in-env
273+
# - uses: ./.github/actions/set-go-version-in-env
274+
- name: Set the Go version in the environment
275+
# Need an exact version vs the range (~x.x.x) provided by set-go-version-in-env action
276+
run: echo GO_VERSION="$(go list -m -f '{{.GoVersion}}')" >> $GITHUB_ENV
277+
shell: bash
274278
- id: govulncheck
275279
uses: golang/govulncheck-action@v1
276280
with:

0 commit comments

Comments
 (0)