From c6769d407e66894d0e6e1318b0db96300c885a05 Mon Sep 17 00:00:00 2001 From: kolaente Date: Mon, 20 Feb 2023 15:17:49 +0100 Subject: [PATCH] chore(deps): update golangci-lint to 1.51.2 --- .drone.yml | 4 ++-- magefile.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 2743ed33e..ed60414b9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -141,7 +141,7 @@ steps: commands: - export "GOROOT=$(go env GOROOT)" - apk --no-cache add build-base git - - wget -O - -q https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.51.0 + - wget -O - -q https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.51.2 - ./mage-static check:all when: event: [ push, tag, pull_request ] @@ -731,6 +731,6 @@ steps: - failure --- kind: signature -hmac: f7333b93f885e3df8bc3daf76de53c3a7db7a5c490f15f66029a05e5a9c1c5f7 +hmac: 7242860ad70556ffeb8fc804ce0ffa0d3d1aa8e0d9167ad476aa392d7e937d48 ... diff --git a/magefile.go b/magefile.go index a0dda8c54..21dd9cfcd 100644 --- a/magefile.go +++ b/magefile.go @@ -405,7 +405,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.51.0") + fmt.Println("curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.51.2") os.Exit(1) } }