Skip to content

Commit

Permalink
Update Go version used for vulnerability scan (#198)
Browse files Browse the repository at this point in the history
Run vulnerability scan with latest currently suported Go release to
avoid failures caused by old standard library versions.

Also remove deprecated `skip-pkg-cache` argument from
golangci-lint-action.

Signed-off-by: Mark S. Lewis <[email protected]>
  • Loading branch information
bestbeforetoday authored May 8, 2024
1 parent d18e4ea commit f896a39
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/golang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
uses: golangci/golangci-lint-action@v6
with:
version: latest
skip-pkg-cache: true

end-to-end:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vulnerability-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: stable
check-latest: true
- name: Scan
run: make scan-go-${{ matrix.target }}
Expand Down

0 comments on commit f896a39

Please sign in to comment.