Skip to content

Commit bc5cf81

Browse files
chore: update to Golang 1.23 (#485)
* chore: update to Golang 1.23 * chore: configure cci to build with 1.23 Signed-off-by: Or Shachar <orchoock@gmail.com> * Update config.yml --------- Signed-off-by: Or Shachar <orchoock@gmail.com> Co-authored-by: Scott Blum <dragonsinth@gmail.com>
1 parent fb49f04 commit bc5cf81

File tree

3 files changed

+10
-19
lines changed

3 files changed

+10
-19
lines changed

.circleci/config.yml

+7-16
Original file line numberDiff line numberDiff line change
@@ -9,41 +9,32 @@ shared_configs:
99
# Use the latest 2.1 version of CircleCI pipeline process engine. See: https://circleci.com/docs/2.0/configuration-reference
1010
version: 2.1
1111
jobs:
12-
build-1-19:
12+
build-1-21:
1313
working_directory: ~/repo
1414
docker:
15-
- image: cimg/go:1.19
15+
- image: cimg/go:1.21
1616
steps: *simple_job_steps
1717

18-
build-1-20:
18+
build-1-22:
1919
working_directory: ~/repo
2020
docker:
21-
- image: cimg/go:1.20
21+
- image: cimg/go:1.22
2222
steps: *simple_job_steps
2323

24-
build-1-21:
24+
build-1-23:
2525
working_directory: ~/repo
2626
docker:
27-
- image: cimg/go:1.21
27+
- image: cimg/go:1.23
2828
steps:
2929
- checkout
3030
- run:
3131
name: Run tests and linters
3232
command: |
3333
make ci
3434
35-
# TODO: Need updates to some static analyzer tools to support 1.22. After those
36-
# are updated, move the full linting from 1.21 to this latest release.
37-
build-1-22:
38-
working_directory: ~/repo
39-
docker:
40-
- image: cimg/go:1.22
41-
steps: *simple_job_steps
42-
4335
workflows:
4436
pr-build-test:
4537
jobs:
46-
- build-1-19
47-
- build-1-20
4838
- build-1-21
4939
- build-1-22
40+
- build-1-23

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.21-alpine as builder
1+
FROM golang:1.23-alpine as builder
22
MAINTAINER Fullstory Engineering
33

44
# create non-privileged group and user

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ vet:
6767

6868
.PHONY: staticcheck
6969
staticcheck:
70-
@go install honnef.co/go/tools/cmd/staticcheck@v0.4.3
70+
@go install honnef.co/go/tools/cmd/staticcheck@v0.5.1
7171
staticcheck ./...
7272

7373
.PHONY: ineffassign
@@ -77,7 +77,7 @@ ineffassign:
7777

7878
.PHONY: predeclared
7979
predeclared:
80-
@go install github.com/nishanths/predeclared@5f2f810c9ae6
80+
@go install github.com/nishanths/predeclared@245576f9a85c
8181
predeclared ./...
8282

8383
# Intentionally omitted from CI, but target here for ad-hoc reports.

0 commit comments

Comments
 (0)