Skip to content

Commit

Permalink
deps: update golangci-lint to v1.56.2, check latest Go version in Git…
Browse files Browse the repository at this point in the history
…Hub wokflows
  • Loading branch information
cbrgm committed Mar 13, 2024
1 parent 88c422e commit 0f5cf22
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .anvil.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"generated_at": "2024-03-13T11:44:09.419635417Z",
"generated_at": "2024-03-13T11:50:36.267770518Z",
"version": "1.2.10",
"files": [
{
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: ^1.22
check-latest: true

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

- name: Run generate
id: generate
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/go-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,13 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: ^1.22
check-latest: true

- name: install golangci
uses: giantswarm/install-binary-action@v2.0.0
with:
binary: "golangci-lint"
version: "1.54.1"
version: "1.56.2"
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
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# https://github.com/golangci/golangci/wiki/Configuration
service:
# use the fixed version to not introduce new linters unexpectedly
golangci-lint-version: 1.54.1
golangci-lint-version: 1.56.2

run:
# golang-ci lint runtime timeout
Expand Down

0 comments on commit 0f5cf22

Please sign in to comment.