Merge namecoin/ncdns#171: Cirrus: Disable gci for New task

093d77f527 Cirrus: Disable gci for New task (Jeremy Rand)
cdfc933805 GolangCI: Add gci config (Jeremy Rand)

Pull request description:

  gci seems to crash while processing this repo, for reasons I don't understand.

Top commit has no ACKs.

Tree-SHA512: 4421d3a47b5b394416cb7b5ef8428e558d713a8827a7a4587ac67fa0375c5334f191bf2f9b576b7cbc589964cf47583191e66edd38e7c2555791c5d8144071e3
pull/172/head v0.3.2
Jeremy Rand 2 years ago
commit 5adda8d472
No known key found for this signature in database
GPG Key ID: EB03139A459DD06E

@ -58,7 +58,8 @@ task:
matrix:
- name: "Go Lint $GOOS New$MODULES_NAME"
env:
GOLANGCI_ARGS: "--new-from-rev=HEAD~"
# gci seems to be buggy with --new-from-rev=
GOLANGCI_ARGS: "--new-from-rev=HEAD~ --disable=gci"
- name: "Go Lint $GOOS Mandatory$MODULES_NAME"
env:
# TODO: Re-enable dupword after ncdns issue #166 is fixed.

@ -1,4 +1,9 @@
linters-settings:
gci:
sections:
- standard
- default
- prefix(github.com/namecoin)
goimports:
local-prefixes: "github.com/namecoin"
gomoddirectives:

Loading…
Cancel
Save