Cirrus: Disable gomoddirectives linter if Go modules are disabled

This linter can't run without Go modules.
pull/145/head
Jeremy Rand 3 years ago
parent 348ddfd191
commit 7c7265054b
No known key found for this signature in database
GPG Key ID: FD7550C2EB800711

@ -14,7 +14,7 @@ task:
matrix:
- env:
GO111MODULE: "off"
GOLANGCI_MODULES_ARGS: "--disable=gomodguard"
GOLANGCI_MODULES_ARGS: "--disable=gomoddirectives,gomodguard"
fetch_script:
- go get -tags "$GOX_TAGS" -d -v -t github.com/$CIRRUS_REPO_FULL_NAME/...
- GOOS=windows go get -tags "$GOX_TAGS" -d -v -t github.com/$CIRRUS_REPO_FULL_NAME/...

Loading…
Cancel
Save