Nailed it.
This commit is contained in:
parent
df4fb5bafc
commit
f0eb19f7d5
2 changed files with 1 additions and 13 deletions
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
|
|
@ -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)
|
||||||
|
|
|
||||||
7
Makefile
7
Makefile
|
|
@ -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}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue