Merge pull request #35 from actions/h2floh/fix_ci
Bringing CI back on fix bootstrap and lint script
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ fi
|
|||||||
|
|
||||||
if [ ! -f "${GOBIN}/golangci-lint" ]; then
|
if [ ! -f "${GOBIN}/golangci-lint" ]; then
|
||||||
echo "golangci was not found, installing..."
|
echo "golangci was not found, installing..."
|
||||||
go get github.com/golangci/golangci-lint/cmd/golangci-lint@master
|
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.45.2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f "${GOBIN}/goimports" ]; then
|
if [ ! -f "${GOBIN}/goimports" ]; then
|
||||||
|
|||||||
+1
-1
@@ -7,4 +7,4 @@ test -z "${DEBUG:-}" || {
|
|||||||
set -x
|
set -x
|
||||||
}
|
}
|
||||||
|
|
||||||
_tools/bin/golangci-lint run --config .golangci.yaml
|
golangci-lint run --config .golangci.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user