mirror of
https://github.com/TECHNOFAB11/dbmate.git
synced 2025-12-11 23:50:04 +01:00
Upgrade golangci-lint to v1.43.0 (#251)
This commit is contained in:
parent
955c9ac653
commit
c99d611cb4
4 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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/
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
//go:build cgo
|
||||||
// +build cgo
|
// +build cgo
|
||||||
|
|
||||||
package sqlite
|
package sqlite
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
//go:build cgo
|
||||||
// +build cgo
|
// +build cgo
|
||||||
|
|
||||||
package sqlite
|
package sqlite
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue