diff --git a/.circleci/config.yml b/.circleci/config.yml index 599bc402..645d370e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,7 +7,7 @@ jobs: build: docker: - - image: circleci/golang:1.12 + image: circleci/golang:1.14 environment: GOFLAGS: -mod=readonly @@ -99,7 +99,7 @@ jobs: release: docker: - - image: circleci/golang:1.12 + image: circleci/golang:1.14 environment: GOFLAGS: -mod=readonly @@ -140,7 +140,7 @@ jobs: trigger-pke-image-build: docker: - - image: circleci/golang:1.12 + image: circleci/golang:1.14 resource_class: small steps: - checkout diff --git a/.golangci.yml b/.golangci.yml index a078cb44..8ff443d2 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -2,6 +2,12 @@ linters: enable-all: true disable: - maligned + - funlen + - gomnd + - wsl + - testpackage + - goerr113 + - nestif # TODO: fix these - gosimple @@ -16,6 +22,13 @@ linters: - interfacer - unused - golint + - stylecheck + - bodyclose + - govet + - godot + - whitespace + - godox + - gocognit linters-settings: golint: diff --git a/Makefile b/Makefile index 27e4a910..91e9e9f9 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ PIPELINE_VERSION = master # Dependency versions GOTESTSUM_VERSION = 0.3.4 -GOLANGCI_VERSION = 1.16.0 +GOLANGCI_VERSION = 1.26.0 LICENSEI_VERSION = 0.1.0 GORELEASER_VERSION = 0.105.0 OPENAPI_GENERATOR_VERSION = PR1869