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>
This commit is contained in:
parent
fb49f049e6
commit
bc5cf811a0
|
|
@ -9,22 +9,22 @@ shared_configs:
|
|||
# Use the latest 2.1 version of CircleCI pipeline process engine. See: https://circleci.com/docs/2.0/configuration-reference
|
||||
version: 2.1
|
||||
jobs:
|
||||
build-1-19:
|
||||
working_directory: ~/repo
|
||||
docker:
|
||||
- image: cimg/go:1.19
|
||||
steps: *simple_job_steps
|
||||
|
||||
build-1-20:
|
||||
working_directory: ~/repo
|
||||
docker:
|
||||
- image: cimg/go:1.20
|
||||
steps: *simple_job_steps
|
||||
|
||||
build-1-21:
|
||||
working_directory: ~/repo
|
||||
docker:
|
||||
- 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
|
||||
|
||||
build-1-23:
|
||||
working_directory: ~/repo
|
||||
docker:
|
||||
- image: cimg/go:1.23
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
|
|
@ -32,18 +32,9 @@ jobs:
|
|||
command: |
|
||||
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:
|
||||
pr-build-test:
|
||||
jobs:
|
||||
- build-1-19
|
||||
- build-1-20
|
||||
- build-1-21
|
||||
- build-1-22
|
||||
- build-1-23
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
FROM golang:1.21-alpine as builder
|
||||
FROM golang:1.23-alpine as builder
|
||||
MAINTAINER Fullstory Engineering
|
||||
|
||||
# create non-privileged group and user
|
||||
|
|
|
|||
4
Makefile
4
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@245576f9a85c
|
||||
predeclared ./...
|
||||
|
||||
# Intentionally omitted from CI, but target here for ad-hoc reports.
|
||||
|
|
|
|||
Loading…
Reference in New Issue