Skip to content

Commit

Permalink
chore: configure cci to build with 1.23
Browse files Browse the repository at this point in the history
Signed-off-by: Or Shachar <[email protected]>
  • Loading branch information
or-shachar committed Sep 9, 2024
1 parent ab3f87a commit e8f350f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
24 changes: 16 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,25 +25,33 @@ 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:
- build-1-19
- build-1-20
- build-1-21
- build-1-22
- build-1-23
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e8f350f

Please sign in to comment.