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 1690b4b commit 8ab422b
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 requestid_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ func Test_New(t *testing.T) { //nolint:funlen
tt := test

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

ctx := new(atreugo.RequestCtx)
ctx.RequestCtx = new(fasthttp.RequestCtx)

Expand Down

0 comments on commit 8ab422b

Please # to comment.