CI: Whitelist go.mod replace x509-compressed

Fixes a warning from gomoddirectives linter.
pull/143/head
Jeremy Rand 3 years ago
parent f8e40887fb
commit 4b128a4904
No known key found for this signature in database
GPG Key ID: FD7550C2EB800711

@ -37,7 +37,7 @@ task:
- go mod tidy
lint_script:
- cd $(go env GOPATH)/src/github.com/$CIRRUS_REPO_FULL_NAME/
- golangci-lint run --no-config --enable-all --disable gochecknoglobals,gomnd $GOLANGCI_ARGS -v --timeout 5m --out-format json > $CIRRUS_WORKING_DIR/lint-report.json
- golangci-lint run --enable-all --disable gochecknoglobals,gomnd $GOLANGCI_ARGS -v --timeout 5m --out-format json > $CIRRUS_WORKING_DIR/lint-report.json
matrix:
- name: Go Lint $GOOS New
env:

@ -0,0 +1,7 @@
linters-settings:
goimports:
local-prefixes: "github.com/namecoin"
gomoddirectives:
replace-local: true
replace-allow-list:
- "github.com/namecoin/x509-compressed"
Loading…
Cancel
Save