diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 577ace8..6db44b8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest env: GO_VERSION: 1.16 - GOLANGCI_LINT_VERSION: v1.38.0 + GOLANGCI_LINT_VERSION: v1.41.1 SEIHON_VERSION: v0.8.3 CGO_ENABLED: 0 diff --git a/.golangci.yml b/.golangci.yml index d4ad399..cf0128c 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -42,10 +42,18 @@ linters-settings: - '^print(ln)?$' - '^spew\.Print(f|ln)?$' - '^spew\.Dump$' + gomoddirectives: + replace-allow-list: + - github.com/abbot/go-http-auth + - github.com/go-check/check + - github.com/gorilla/mux + - github.com/mailgun/minheap + - github.com/mailgun/multibuf linters: enable-all: true disable: + - golint # deprecated - scopelint # deprecated - interfacer # deprecated - maligned # deprecated