Skip to content

Commit

Permalink
Bump go to 1.23 in govulncheck.yml
Browse files Browse the repository at this point in the history
Using setup-go makes govulncheck install to convenient path.
  • Loading branch information
fxamacker authored Sep 29, 2024
1 parent 573d5f5 commit ddb2eb0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/govulncheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,14 @@ jobs:
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
fetch-depth: 1

- name: Install Go and setup env
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: 1.23
check-latest: true

- name: Install latest from golang.org
- name: Install latest govulncheck
run: go install golang.org/x/vuln/cmd/govulncheck@4ea4418106cea3bb2c9aa098527c924e9e1fbbb4 # v1.1.3

- name: Run govulncheck
Expand Down

0 comments on commit ddb2eb0

Please sign in to comment.