Merge #143: CI: Whitelist go.mod replace x509-compressed

4b128a4904 CI: Whitelist go.mod replace x509-compressed (Jeremy Rand)

Pull request description:

  Fixes a warning from gomoddirectives linter.

Top commit has no ACKs.

Tree-SHA512: dd0e4c4bbfc9693cab8c21cbbf92540f4fcb72e1a77c96f91873b82ae46847bdd5e77f02718c28a9acef0a3c1fa3118092c8ea8501861a0a8b293b600002ddf4
pull/146/head
Jeremy Rand 3 years ago
commit 8cc2c19bdb
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