More live testing!
This commit is contained in:
parent
7f5f799403
commit
eee744ab56
2 changed files with 5 additions and 0 deletions
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
|
|
@ -36,6 +36,7 @@ jobs:
|
||||||
echo ---
|
echo ---
|
||||||
echo ${GOPATH}
|
echo ${GOPATH}
|
||||||
go env GOPATH
|
go env GOPATH
|
||||||
|
make nonsense
|
||||||
echo ---
|
echo ---
|
||||||
make test-lint
|
make test-lint
|
||||||
|
|
||||||
|
|
|
||||||
4
Makefile
4
Makefile
|
|
@ -4,6 +4,10 @@ GOLANGCI_LINT_PATH := $(GOPATH)/bin/golangci-lint
|
||||||
GOLANGCI_LINT_VERSION := 1.51.1
|
GOLANGCI_LINT_VERSION := 1.51.1
|
||||||
|
|
||||||
|
|
||||||
|
nonsense:
|
||||||
|
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}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue