Skip to content

Commit 009dcf9

Browse files
committed
update go to 1.23
1 parent 7fd1cff commit 009dcf9

File tree

4 files changed

+7
-9
lines changed

4 files changed

+7
-9
lines changed

.circleci/config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,25 @@ version: 2
22
jobs:
33
license:
44
docker:
5-
- image: golang:1.22
5+
- image: golang:1.23
66
steps:
77
- checkout
88
- run: ./script/check-licenses.sh
99
vet:
1010
docker:
11-
- image: golang:1.22
11+
- image: golang:1.23
1212
steps:
1313
- checkout
1414
- run: go vet ./...
1515
test:
1616
docker:
17-
- image: golang:1.22
17+
- image: golang:1.23
1818
steps:
1919
- checkout
2020
- run: go test -race -cover ./...
2121
smoke-test:
2222
docker:
23-
- image: golang:1.22
23+
- image: golang:1.23
2424
steps:
2525
- checkout
2626
- run: go run ./cmd/clusterlint --help

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Install go
1818
uses: actions/setup-go@0caeaed6fd66a828038c2da3c0f662a42862658f
1919
with:
20-
go-version: ^1.22
20+
go-version: ^1.23
2121
- name: Check out code into the Go module directory
2222
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
2323
- name: Login to dockerhub to push the image

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the clusterlint binary
2-
FROM golang:1.22 as builder
2+
FROM golang:1.23 as builder
33
WORKDIR /workspace
44
# Copy the Go Modules manifests
55
COPY go.mod go.mod

go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/digitalocean/clusterlint
22

3-
go 1.22.0
4-
5-
toolchain go1.22.2
3+
go 1.23.1
64

75
require (
86
github.com/docker/distribution v2.8.3+incompatible

0 commit comments

Comments
 (0)