From 430057a404b04e75c62a15693f479c6fc8e63189 Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 3 Aug 2022 15:20:11 +0200 Subject: [PATCH] chore: update golangci-lint --- .drone.yml | 4 ++-- magefile.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 04294448ec..9e8267053f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -138,7 +138,7 @@ steps: GOPROXY: 'https://goproxy.kolaente.de' depends_on: [ build ] commands: - - wget -O - -q https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.45.2 + - wget -O - -q https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.47.3 - ./mage-static check:all when: event: [ push, tag, pull_request ] @@ -844,6 +844,6 @@ steps: - failure --- kind: signature -hmac: 24ae934ccafb57159927ab62ba4d00f85490d1330feef264833a6605494b75b2 +hmac: 3745c69e4723e5349527f5ca8941a530f3ed05f333622cce56630f3c39b1fdbd ... diff --git a/magefile.go b/magefile.go index 92668a8819..dfd12235f1 100644 --- a/magefile.go +++ b/magefile.go @@ -404,7 +404,7 @@ func checkGolangCiLintInstalled() { mg.Deps(initVars) if err := exec.Command("golangci-lint").Run(); err != nil && strings.Contains(err.Error(), "executable file not found") { fmt.Println("Please manually install golangci-lint by running") - fmt.Println("curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.31.0") + fmt.Println("curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.47.3") os.Exit(1) } }