From d77d76f67aaeada1645b068db79db94eb95570e3 Mon Sep 17 00:00:00 2001 From: Adam Chalkley Date: Thu, 9 May 2024 07:52:20 -0500 Subject: [PATCH] Update golangci-lint to v1.58.1 - Update Dockerfile ENV values - Update README tools version table refs GH-1528 --- 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 6d85e489..0e5a310e 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,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.58.0` | +| [`golangci-lint`](https://github.com/golangci/golangci-lint) | `v1.58.1` | | [`govulncheck`](https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck) | `v1.1.0` | | [`deadcode`](https://pkg.go.dev/golang.org/x/tools/cmd/deadcode) | `v0.19.0` | | [`orijtech/httperroryzer`](https://github.com/orijtech/httperroryzer) | `v0.0.1` | diff --git a/oldstable/combined/Dockerfile b/oldstable/combined/Dockerfile index e75d61f5..557f3410 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.58.0" +ENV GOLANGCI_LINT_VERSION="v1.58.1" ENV STATICCHECK_VERSION="v0.4.7" ENV DEADCODE_VERSION="v0.19.0" ENV GOVULNCHECK_VERSION="v1.1.0" diff --git a/stable/combined/Dockerfile b/stable/combined/Dockerfile index c52faab0..3a82862f 100644 --- a/stable/combined/Dockerfile +++ b/stable/combined/Dockerfile @@ -15,7 +15,7 @@ FROM amd64/golang:1.22.3-bookworm as builder # https://github.com/atc0005/go-ci/issues/1188 ENV GOTOOLCHAIN="local" -ENV GOLANGCI_LINT_VERSION="v1.58.0" +ENV GOLANGCI_LINT_VERSION="v1.58.1" ENV STATICCHECK_VERSION="v0.4.7" ENV DEADCODE_VERSION="v0.19.0" ENV GOVULNCHECK_VERSION="v1.1.0" @@ -126,7 +126,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.58.0" +ENV GOLANGCI_LINT_VERSION="v1.58.1" ENV STATICCHECK_VERSION="v0.4.7" ENV DEADCODE_VERSION="v0.19.0" ENV GOVULNCHECK_VERSION="v1.1.0" diff --git a/unstable/combined/Dockerfile b/unstable/combined/Dockerfile index 1df22911..d5b03df5 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.58.0" +ENV GOLANGCI_LINT_VERSION="v1.58.1" # 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. @@ -135,7 +135,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.58.0" +ENV GOLANGCI_LINT_VERSION="v1.58.1" # 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.