diff --git a/.circleci/config.yml b/.circleci/config.yml index defe0a84..c2c114cf 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,21 +25,28 @@ jobs: working_directory: ~/repo docker: - image: cimg/go:1.21 - steps: - - checkout - - run: - name: Run tests and linters - command: | - make ci + steps: *simple_job_steps - # TODO: Need updates to some static analyzer tools to support 1.22. After those - # are updated, move the full linting from 1.21 to this latest release. build-1-22: working_directory: ~/repo docker: - image: cimg/go:1.22 steps: *simple_job_steps + # TODO: Need updates to some static analyzer tools to support 1.22. After those + # are updated, move the full linting from 1.21 to this latest release. + + build-1-23: + working_directory: ~/repo + docker: + - image: cimg/go:1.23 + steps: + - checkout + - run: + name: Run tests and linters + command: | + make ci + workflows: pr-build-test: jobs: @@ -47,3 +54,4 @@ workflows: - build-1-20 - build-1-21 - build-1-22 + - build-1-23 \ No newline at end of file diff --git a/Makefile b/Makefile index 45081232..ccea5b1a 100644 --- a/Makefile +++ b/Makefile @@ -67,7 +67,7 @@ vet: .PHONY: staticcheck staticcheck: - @go install honnef.co/go/tools/cmd/staticcheck@v0.4.3 + @go install honnef.co/go/tools/cmd/staticcheck@v0.5.1 staticcheck ./... .PHONY: ineffassign @@ -77,7 +77,7 @@ ineffassign: .PHONY: predeclared predeclared: - @go install github.com/nishanths/predeclared@5f2f810c9ae6 + @go install github.com/nishanths/predeclared@31fd237ab753 predeclared ./... # Intentionally omitted from CI, but target here for ad-hoc reports.