Skip to content

Commit f3a8366

Browse files
committed
Upgrade CI Go to 1.24 and golangci-lint to v1.64.8
The go.mod files require go 1.24 (mandated by aws-sdk-go-v2@v1.41.5). Update the lint workflow to use Go 1.24 and golangci-lint v1.64.8 (built with Go 1.24 support). Also bump setup-go action to v5.
1 parent b7e08bc commit f3a8366

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/lint-golang.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ jobs:
2121
uses: tj-actions/changed-files@e9772d140489982e0e3704fea5ee93d536f1e275
2222
with:
2323
files: "gov2/**/*.go"
24-
- uses: actions/setup-go@v3
24+
- uses: actions/setup-go@v5
2525
if: steps.changed-files.outputs.any_changed == 'true'
2626
with:
27-
go-version: 1.21
27+
go-version: '1.24'
2828
- name: install golangci-lint
2929
if: steps.changed-files.outputs.any_changed == 'true'
30-
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.61.0
30+
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.64.8
3131
- name: run golangci-lint
3232
if: steps.changed-files.outputs.any_changed == 'true'
3333
run: | # If you get a linting error of "File is not `goimports`-ed", the solution is to run "gofmt -w ./<folder>".

0 commit comments

Comments
 (0)