From ec4705d28ed7e6028c831feaeff64ad14728a116 Mon Sep 17 00:00:00 2001 From: Christian Zunker Date: Fri, 30 Jun 2023 15:11:24 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20tar=20errors=20during=20go?= =?UTF-8?q?langci-lint=20execution?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The errors polutew the logs and make it hard to find real problems For some background, see https://github.com/mondoohq/mondoo-operator/pull/812 Signed-off-by: Christian Zunker --- .github/workflows/lint.yaml | 4 +++- Makefile | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 0702c4a09..900c1e136 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -22,5 +22,7 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: - version: v1.49 + version: v1.53 args: --timeout=15m0s + skip-pkg-cache: true + skip-build-cache: true diff --git a/Makefile b/Makefile index 3480be7bd..716502d86 100644 --- a/Makefile +++ b/Makefile @@ -278,7 +278,7 @@ $(GOTESTSUM): $(LOCALBIN) GOLANGCI_LINT = $(LOCALBIN)/golangci-lint golangci-lint: $(GOLANGCI_LINT) ## Download golangci-lint locally if necessary. $(GOLANGCI_LINT): $(LOCALBIN) - test -s $(LOCALBIN)/golangci-lint || GOBIN=$(LOCALBIN) go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.49 + test -s $(LOCALBIN)/golangci-lint || GOBIN=$(LOCALBIN) go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.53 GOMOCKGEN = $(LOCALBIN)/mockgen .PHONY: gomockgen