chore: configure cci to build with 1.23

Signed-off-by: Or Shachar <orchoock@gmail.com>
This commit is contained in:
Or Shachar 2024-09-09 16:36:44 -04:00
parent fd60fa1452
commit 5e60c9c443
2 changed files with 18 additions and 10 deletions

View File

@ -25,6 +25,21 @@ jobs:
working_directory: ~/repo working_directory: ~/repo
docker: docker:
- image: cimg/go:1.21 - image: cimg/go:1.21
steps: *simple_job_steps
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: steps:
- checkout - checkout
- run: - run:
@ -32,14 +47,6 @@ jobs:
command: | command: |
make ci make ci
# 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
workflows: workflows:
pr-build-test: pr-build-test:
jobs: jobs:
@ -47,3 +54,4 @@ workflows:
- build-1-20 - build-1-20
- build-1-21 - build-1-21
- build-1-22 - build-1-22
- build-1-23

View File

@ -67,7 +67,7 @@ vet:
.PHONY: staticcheck .PHONY: staticcheck
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 ./... staticcheck ./...
.PHONY: ineffassign .PHONY: ineffassign
@ -77,7 +77,7 @@ ineffassign:
.PHONY: predeclared .PHONY: predeclared
predeclared: predeclared:
@go install github.com/nishanths/predeclared@5f2f810c9ae6 @go install github.com/nishanths/predeclared@245576f9a85c
predeclared ./... predeclared ./...
# Intentionally omitted from CI, but target here for ad-hoc reports. # Intentionally omitted from CI, but target here for ad-hoc reports.