chore(deps): update golangci
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
96620ce946
commit
50b0d3f95c
|
@ -152,7 +152,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- export "GOROOT=$(go env GOROOT)"
|
- export "GOROOT=$(go env GOROOT)"
|
||||||
- apk --no-cache add build-base git
|
- 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.52.1
|
- wget -O - -q https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.53.2
|
||||||
- ./mage-static check:golangci
|
- ./mage-static check:golangci
|
||||||
when:
|
when:
|
||||||
event: [ push, tag, pull_request ]
|
event: [ push, tag, pull_request ]
|
||||||
|
@ -743,6 +743,6 @@ steps:
|
||||||
- failure
|
- failure
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 4bd741efb43ddcbece3597ad794906a1aa7d088f0b914609893d75038fcd58a0
|
hmac: a5b2996ce0885a3c23101b1a967060c0546c1cc3607a26ff91144080a3b08402
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
|
@ -419,7 +419,7 @@ func checkGolangCiLintInstalled() {
|
||||||
mg.Deps(initVars)
|
mg.Deps(initVars)
|
||||||
if err := exec.Command("golangci-lint").Run(); err != nil && strings.Contains(err.Error(), "executable file not found") {
|
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("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.52.1")
|
fmt.Println("curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.53.2")
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue