-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
Migrate to golangci-lint
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
env: | ||
- GO111MODULE=on | ||
- CGO_ENABLED=1 | ||
- CGO_ENABLED=0 | ||
- GOFLAGS=-mod=vendor | ||
- GOPROXY=off | ||
builds: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ language: go | |
|
||
go: | ||
- 1.13.x | ||
- 1.14.x | ||
- master | ||
|
||
script: make ci | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
module github.com/cbroglie/mustache | ||
|
||
go 1.13 | ||
go 1.14 | ||
|
||
require ( | ||
github.com/spf13/cobra v0.0.5 | ||
golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f | ||
gopkg.in/yaml.v2 v2.2.7 | ||
github.com/golangci/golangci-lint v1.28.3 | ||
github.com/spf13/cobra v1.0.0 | ||
gopkg.in/yaml.v2 v2.3.0 | ||
) |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,5 @@ | |
package tools | ||
|
||
import ( | ||
_ "golang.org/x/lint/golint" | ||
_ "github.com/golangci/golangci-lint/cmd/golangci-lint" | ||
) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.