Skip to content

Commit

Permalink
Upgrade golangci-lint to v1.35.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio Andres Virviescas Santana committed Jan 9, 2021
1 parent 054a357 commit 2d4fb57
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ linters:
- gochecknoglobals
- testpackage
- goerr113
- exhaustivestruct
- paralleltest
- nolintlint
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
include:
- stage: lint
script:
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.30.0
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.35.0
- golangci-lint run

- stage: cross compilation
Expand Down
2 changes: 2 additions & 0 deletions cors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ func Test_New(t *testing.T) { //nolint:funlen
tt := test

t.Run("", func(t *testing.T) {
t.Helper()

m := New(tt.args.cfg)

ctx := new(atreugo.RequestCtx)
Expand Down

0 comments on commit 2d4fb57

Please sign in to comment.