From 7c7265054bf15151ac8158b564063e2e805d6c56 Mon Sep 17 00:00:00 2001 From: Jeremy Rand Date: Wed, 16 Jun 2021 23:42:52 +0000 Subject: [PATCH] Cirrus: Disable gomoddirectives linter if Go modules are disabled This linter can't run without Go modules. --- .cirrus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index 6d8e7db..e55e29f 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -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/...