From 61d00b9477c7f40ef10b27c78e93fd191e098e98 Mon Sep 17 00:00:00 2001 From: matttrach Date: Wed, 22 Mar 2023 16:36:06 -0500 Subject: [PATCH 1/2] adding dependabot to keep dockerfiles up to date Signed-off-by: matttrach --- .github/dependabot.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..665d7a42 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,14 @@ +version: 2 +updates: + + # Maintain dependencies for Docker Images + - package-ecosystem: "docker" + directory: "/" + schedule: + interval: "weekly" + + - package-ecosystem: "docker" + directory: "/package" + schedule: + interval: "weekly" + From 185eb61c68c636e848ce4887e89771395c6bf62b Mon Sep 17 00:00:00 2001 From: Matt Trachier Date: Fri, 31 Mar 2023 18:40:43 +0000 Subject: [PATCH 2/2] upgrading golangci-lint and ignoring unused parameter checks Signed-off-by: Matt Trachier --- .golangci.json | 4 ++++ Dockerfile.dapper | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.golangci.json b/.golangci.json index 48c0bdfb..1f63848a 100644 --- a/.golangci.json +++ b/.golangci.json @@ -32,6 +32,10 @@ { "linters": "revive", "text": "should have comment" + }, + { + "linters": "revive", + "text": "unused-parameter" } ] } diff --git a/Dockerfile.dapper b/Dockerfile.dapper index 252166bc..e06ab0b9 100644 --- a/Dockerfile.dapper +++ b/Dockerfile.dapper @@ -7,7 +7,7 @@ RUN apk -U add bash git gcc musl-dev docker vim less file curl wget ca-certifica RUN GOPROXY=direct go install golang.org/x/tools/cmd/goimports@gopls/v0.8.2 RUN if [ "${ARCH}" == "amd64" ]; then \ - curl -sL https://raw.githubusercontent.com/golangci/golangci-lint/v1.50.1/install.sh | sh -s; \ + curl -sL https://raw.githubusercontent.com/golangci/golangci-lint/v1.52.2/install.sh | sh -s; \ go install sigs.k8s.io/kustomize/kustomize/v4@v4.5.7; \ fi