diff --git a/.circleci/config.yml b/.circleci/config.yml index d52e413..c9b1c91 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,16 +6,16 @@ orbs: executors: node: docker: - - image: node:17-slim + - image: node:18-slim golangci-lint: docker: - - image: golangci/golangci-lint:v1.47 + - image: golangci/golangci-lint:v1.49 golang-previous: docker: - - image: golang:1.17 + - image: golang:1.18 golang-latest: docker: - - image: golang:1.18 + - image: golang:1.19 jobs: lint-markdown: diff --git a/.golangci.yml b/.golangci.yml index c22dd23..e9a40ec 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -5,17 +5,16 @@ linters: - bodyclose - containedctx - contextcheck - - deadcode - decorder - depguard - dogsled - dupl - errcheck + - errchkjson - funlen - gochecknoinits - - gocognit - - errchkjson - gochecknoinits + - gocognit - goconst - gocritic - gocyclo @@ -28,21 +27,20 @@ linters: - govet - grouper - ineffassign + - interfacebloat - ireturn - maintidx - misspell - nakedret - nilnil - prealloc + - reassign - revive - - rowserrcheck - staticcheck - - structcheck - stylecheck - tenv - typecheck - unconvert - unparam - unused - - varcheck - whitespace diff --git a/go.mod b/go.mod index 5508981..a655e79 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/sylabs/json-resp -go 1.17 +go 1.18