Nailed it.

This commit is contained in:
bvanvugt 2023-02-20 04:47:22 +00:00
parent df4fb5bafc
commit f0eb19f7d5
2 changed files with 1 additions and 13 deletions

View file

@ -32,12 +32,7 @@ jobs:
with: with:
go-version: '${{ env.GO_VERSION }}' go-version: '${{ env.GO_VERSION }}'
check-latest: true check-latest: true
- run: | - run: make test-lint
echo ---
echo make nonsense
make nonsense
echo ---
make test-lint
tests: tests:
name: Test (go test) name: Test (go test)

View file

@ -4,13 +4,6 @@ GOLANGCI_LINT_PATH := ${GOPATH}/bin/golangci-lint
GOLANGCI_LINT_VERSION := 1.51.1 GOLANGCI_LINT_VERSION := 1.51.1
nonsense:
which go
go version
go env GOPATH
echo "Installing golangci-lint to ${GOPATH} ${GOLANGCI_LINT_PATH} ${GOLANGCI_LINT_VERSION}"
.PHONY: nonsense
${GOLANGCI_LINT_PATH}: ${GOLANGCI_LINT_PATH}:
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b ${GOPATH}/bin v${GOLANGCI_LINT_VERSION} curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b ${GOPATH}/bin v${GOLANGCI_LINT_VERSION}