Upgrade golangci-lint to v1.43.0 (#251)

This commit is contained in:
Adrian Macneil 2021-12-20 10:29:33 -08:00 committed by GitHub
parent 955c9ac653
commit c99d611cb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 2 deletions

View file

@ -5,12 +5,12 @@ linters:
- depguard - depguard
- errcheck - errcheck
- goimports - goimports
- golint
- gosimple - gosimple
- govet - govet
- ineffassign - ineffassign
- misspell - misspell
- nakedret - nakedret
- revive
- rowserrcheck - rowserrcheck
- staticcheck - staticcheck
- structcheck - structcheck

View file

@ -14,7 +14,7 @@ RUN apt-get update \
# golangci-lint # golangci-lint
RUN curl -fsSL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh \ RUN curl -fsSL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh \
| sh -s -- -b /usr/local/bin v1.39.0 | sh -s -- -b /usr/local/bin v1.43.0
# download modules # download modules
COPY go.* /src/ COPY go.* /src/

View file

@ -1,3 +1,4 @@
//go:build cgo
// +build cgo // +build cgo
package sqlite package sqlite

View file

@ -1,3 +1,4 @@
//go:build cgo
// +build cgo // +build cgo
package sqlite package sqlite