Skip to content

Commit

Permalink
chore: update to Go v1.23, update golangci-lint to v1.60.1
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrgm committed Aug 14, 2024
1 parent 072e418 commit 30aaa98
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .anvil.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"generated_at": "2024-07-12T18:15:41.296882854Z",
"version": "1.2.19",
"generated_at": "2024-08-14T07:18:01.362363836Z",
"version": "1.2.20",
"files": [
{
"path": ".editorconfig"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
id: golang
uses: actions/setup-go@v5
with:
go-version: ^1.22
go-version: ^1.23
check-latest: true

- name: Run generate
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
id: golang
uses: actions/setup-go@v5
with:
go-version: ^1.22
go-version: ^1.23
check-latest: true

- name: Run generate
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/go-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ jobs:
id: golang
uses: actions/setup-go@v5
with:
go-version: ^1.22
go-version: ^1.23
check-latest: true

- name: install golangci
uses: giantswarm/[email protected]
with:
binary: "golangci-lint"
version: "1.59.1"
version: "1.60.1"
download_url: "https://github.com/golangci/golangci-lint/releases/download/v${version}/golangci-lint-${version}-linux-amd64.tar.gz"
tarball_binary_path: "*/${binary}"
smoke_test: "${binary} --version"
Expand Down
4 changes: 2 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
# https://github.com/golangci/golangci/wiki/Configuration
service:
# use the fixed version to not introduce new linters unexpectedly
golangci-lint-version: 1.59.1
golangci-lint-version: 1.60.1

run:
# golang-ci lint runtime timeout
deadline: 5m
# latest supported Go version
go: '1.22'
go: '1.23'
# see: https://golangci-lint.run/usage/configuration/
modules-download-mode: readonly
# include test files or not.
Expand Down

0 comments on commit 30aaa98

Please sign in to comment.