Live testing FINAL (3)
This commit is contained in:
parent
a37aa7ca59
commit
df4fb5bafc
2 changed files with 3 additions and 1 deletions
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
|
|
@ -34,6 +34,7 @@ jobs:
|
||||||
check-latest: true
|
check-latest: true
|
||||||
- run: |
|
- run: |
|
||||||
echo ---
|
echo ---
|
||||||
|
echo make nonsense
|
||||||
make nonsense
|
make nonsense
|
||||||
echo ---
|
echo ---
|
||||||
make test-lint
|
make test-lint
|
||||||
|
|
|
||||||
3
Makefile
3
Makefile
|
|
@ -1,4 +1,4 @@
|
||||||
GOPATH ?= $(shell $$(go env GOPATH))
|
GOPATH := $(shell go env GOPATH)
|
||||||
|
|
||||||
GOLANGCI_LINT_PATH := ${GOPATH}/bin/golangci-lint
|
GOLANGCI_LINT_PATH := ${GOPATH}/bin/golangci-lint
|
||||||
GOLANGCI_LINT_VERSION := 1.51.1
|
GOLANGCI_LINT_VERSION := 1.51.1
|
||||||
|
|
@ -7,6 +7,7 @@ GOLANGCI_LINT_VERSION := 1.51.1
|
||||||
nonsense:
|
nonsense:
|
||||||
which go
|
which go
|
||||||
go version
|
go version
|
||||||
|
go env GOPATH
|
||||||
echo "Installing golangci-lint to ${GOPATH} ${GOLANGCI_LINT_PATH} ${GOLANGCI_LINT_VERSION}"
|
echo "Installing golangci-lint to ${GOPATH} ${GOLANGCI_LINT_PATH} ${GOLANGCI_LINT_VERSION}"
|
||||||
.PHONY: nonsense
|
.PHONY: nonsense
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue