From 42d5901e01230518cbce6d42cc9f7e7d135f3baa Mon Sep 17 00:00:00 2001 From: Adam Chalkley Date: Wed, 20 Mar 2024 06:21:20 -0500 Subject: [PATCH] Update golangci-lint from v1.56.2 to v1.57.0 - Update Dockerfile ENV values - Update README tools version table refs GH-1429 --- README.md | 2 +- oldstable/combined/Dockerfile | 2 +- stable/combined/Dockerfile | 4 ++-- unstable/combined/Dockerfile | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 664c6cd8..abd6903f 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ The following linting tools are included in the `go-ci-stable`, | Linter | Version | | --------------------------------------------------------------------- | --------------------- | | [`staticcheck`](https://github.com/dominikh/go-tools) | `2023.1.7` (`v0.4.7`) | -| [`golangci-lint`](https://github.com/golangci/golangci-lint) | `v1.56.2` | +| [`golangci-lint`](https://github.com/golangci/golangci-lint) | `v1.57.0` | | [`govulncheck`](https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck) | `v1.0.4` | | [`orijtech/httperroryzer`](https://github.com/orijtech/httperroryzer) | `v0.0.1` | | [`orijtech/structslop`](https://github.com/orijtech/structslop) | `v0.0.8` | diff --git a/oldstable/combined/Dockerfile b/oldstable/combined/Dockerfile index b582c4db..92a9dde4 100644 --- a/oldstable/combined/Dockerfile +++ b/oldstable/combined/Dockerfile @@ -26,7 +26,7 @@ LABEL org.opencontainers.image.authors="Adam Chalkley (github.com/atc0005)" # https://github.com/atc0005/go-ci/issues/1188 ENV GOTOOLCHAIN="local" -ENV GOLANGCI_LINT_VERSION="v1.56.2" +ENV GOLANGCI_LINT_VERSION="v1.57.0" ENV STATICCHECK_VERSION="v0.4.7" ENV GOVULNCHECK_VERSION="v1.0.4" ENV HTTPERRORYZER_VERSION="v0.0.1" diff --git a/stable/combined/Dockerfile b/stable/combined/Dockerfile index fcf9f8cf..6051a92d 100644 --- a/stable/combined/Dockerfile +++ b/stable/combined/Dockerfile @@ -15,7 +15,7 @@ FROM amd64/golang:1.22.1-bookworm as builder # https://github.com/atc0005/go-ci/issues/1188 ENV GOTOOLCHAIN="local" -ENV GOLANGCI_LINT_VERSION="v1.56.2" +ENV GOLANGCI_LINT_VERSION="v1.57.0" ENV STATICCHECK_VERSION="v0.4.7" ENV GOVULNCHECK_VERSION="v1.0.4" ENV HTTPERRORYZER_VERSION="v0.0.1" @@ -120,7 +120,7 @@ LABEL org.opencontainers.image.authors="Adam Chalkley (github.com/atc0005)" # https://github.com/atc0005/go-ci/issues/1188 ENV GOTOOLCHAIN="local" -ENV GOLANGCI_LINT_VERSION="v1.56.2" +ENV GOLANGCI_LINT_VERSION="v1.57.0" ENV STATICCHECK_VERSION="v0.4.7" ENV GOVULNCHECK_VERSION="v1.0.4" ENV HTTPERRORYZER_VERSION="v0.0.1" diff --git a/unstable/combined/Dockerfile b/unstable/combined/Dockerfile index c9faf05c..c36ce877 100644 --- a/unstable/combined/Dockerfile +++ b/unstable/combined/Dockerfile @@ -18,7 +18,7 @@ ENV GOTOOLCHAIN="local" # A current dev branch build (mirrored to fork) is used for pre-release Go # versions, otherwise the latest upstream build of the tool is installed in # this image. -ENV GOLANGCI_LINT_VERSION="v1.56.2" +ENV GOLANGCI_LINT_VERSION="v1.57.0" # A current master branch build is used for pre-release Go versions, otherwise # the latest upstream build of the tool is installed in this image. @@ -129,7 +129,7 @@ ENV GOTOOLCHAIN="local" # A current dev branch build (mirrored to fork) is used for pre-release Go # versions, otherwise the latest upstream build of the tool is installed in # this image. -ENV GOLANGCI_LINT_VERSION="v1.56.2" +ENV GOLANGCI_LINT_VERSION="v1.57.0" # A current master branch build is used for pre-release Go versions, otherwise # the latest upstream build of the tool is installed in this image.