ci: bump to go 1.20 (#375)
* Update CI Go version to 1.20/1.19 * Update `golangci-lint` to v1.51.2 * Update coverage collection to use new Go 1.20 tools * Update coverage job to only run on latest Go version Fixes #367
This commit is contained in:
committed by
GitHub
parent
881df56d21
commit
1bba0bed7f
@@ -4,16 +4,13 @@
|
||||
go install ./internal/cmd/asmvet
|
||||
|
||||
# golangci-lint for linting
|
||||
golangci_lint_version='v1.49.0'
|
||||
golangci_lint_version='v1.51.2'
|
||||
golangci_install_script="https://raw.githubusercontent.com/golangci/golangci-lint/${golangci_lint_version}/install.sh"
|
||||
curl -sfL "${golangci_install_script}" | sh -s -- -b "$(go env GOPATH)/bin" "${golangci_lint_version}"
|
||||
|
||||
# embedmd required for documentation generation
|
||||
go install github.com/campoy/embedmd@v1.0.0
|
||||
|
||||
# covertool for merging coverage reports
|
||||
go install github.com/dlespiau/covertool@v0.0.0-20180314162135-b0c4c6d0583a
|
||||
|
||||
# asmfmt for enforcing assembly style
|
||||
go install github.com/klauspost/asmfmt/cmd/asmfmt@v1.3.2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user