diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9c50d1f..a25fa9c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -34,6 +34,7 @@ jobs: check-latest: true - run: | echo --- + echo make nonsense make nonsense echo --- make test-lint diff --git a/Makefile b/Makefile index 2299e69..7d6e7b2 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -GOPATH ?= $(shell $$(go env GOPATH)) +GOPATH := $(shell go env GOPATH) GOLANGCI_LINT_PATH := ${GOPATH}/bin/golangci-lint GOLANGCI_LINT_VERSION := 1.51.1 @@ -7,6 +7,7 @@ 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