From 5a7362501a3c18f851e8eb98e01fa2b5756abd44 Mon Sep 17 00:00:00 2001 From: Brandon Palm Date: Wed, 1 Nov 2023 12:21:23 -0500 Subject: [PATCH] Update GolangCI-lint to v1.55.1 (#106) --- .golangci.yml | 2 +- README.md | 2 +- cmd/generate/generate.go | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 603539a..bc40223 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -128,6 +128,6 @@ issues: # golangci.com configuration # https://github.com/golangci/golangci/wiki/Configuration service: - golangci-lint-version: 1.54.x # use the fixed version to not introduce new linters unexpectedly + golangci-lint-version: 1.55.x # use the fixed version to not introduce new linters unexpectedly prepare: - echo "here I can run custom commands, but no preparation needed for this repo" diff --git a/README.md b/README.md index ef63f39..b9e1edb 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ At a minimum, the following dependencies must be installed to work with the GoLa Dependency|Minimum Version ---|--- [GoLang](https://golang.org/dl/)|1.21 -[golangci-lint](https://golangci-lint.run/usage/install/)|1.54.2 +[golangci-lint](https://golangci-lint.run/usage/install/)|1.55.1 ## Modifying the claim schema diff --git a/cmd/generate/generate.go b/cmd/generate/generate.go index 0035d32..ce04f09 100644 --- a/cmd/generate/generate.go +++ b/cmd/generate/generate.go @@ -53,6 +53,7 @@ func prependCopyrightNotice(w io.Writer, contents []byte) error { func prependCustomCodeGenerationMessage(w io.Writer) error { currentTime := time.Now() + //nolint:goconst msg := []string{ "", "",