From a0b014ab8daa86ec8a4e3e0ff5a6ac251d0c0926 Mon Sep 17 00:00:00 2001 From: Adam Chalkley Date: Mon, 20 May 2024 05:13:16 -0500 Subject: [PATCH] Update golangci-lint to v1.58.2 - Update Dockerfile ENV values - Update README tools version table refs GH-1537 --- 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 0e5a310e..c8963356 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.1` | +| [`golangci-lint`](https://github.com/golangci/golangci-lint) | `v1.58.2` | | [`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 557f3410..da721617 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.1" +ENV GOLANGCI_LINT_VERSION="v1.58.2" 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 3a82862f..b72f203e 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.1" +ENV GOLANGCI_LINT_VERSION="v1.58.2" 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.1" +ENV GOLANGCI_LINT_VERSION="v1.58.2" 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 d5b03df5..f10c9fb6 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.1" +ENV GOLANGCI_LINT_VERSION="v1.58.2" # 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.1" +ENV GOLANGCI_LINT_VERSION="v1.58.2" # 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.