From df4fb5bafc2cd08b3371df18ff266f0485cb1d42 Mon Sep 17 00:00:00 2001 From: bvanvugt <1531419+bvanvugt@users.noreply.github.com> Date: Mon, 20 Feb 2023 04:45:09 +0000 Subject: [PATCH] Live testing FINAL (3) --- .github/workflows/test.yml | 1 + Makefile | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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