Skip to content

Commit 94937c7

Browse files
committed
Update go version to 1.23
1 parent 8f2aa31 commit 94937c7

File tree

6 files changed

+8
-10
lines changed

6 files changed

+8
-10
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113
- name: Setup Go
114114
uses: actions/setup-go@v5
115115
with:
116-
go-version: 1.21
116+
go-version: 1.23
117117
cache: true
118118
- name: Install dependencies
119119
run: go mod download

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
- uses: actions/setup-go@v5
1717
with:
18-
go-version: 1.21
18+
go-version: 1.23
1919
cache: true
2020

2121
- uses: actions/cache@v4

cmd/controller-manager/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM golang:1.21 as builder
2+
FROM golang:1.23 as builder
33
ARG TARGETOS
44
ARG TARGETARCH
55

cmd/gateway/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM golang:1.21 as builder
2+
FROM golang:1.23 as builder
33

44
WORKDIR /workspace
55
# Copy the Go Modules manifests

cmd/nclet/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM golang:1.21 as builder
2+
FROM golang:1.23 as builder
33

44
WORKDIR /workspace
55
# Copy the Go Modules manifests
@@ -20,7 +20,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build CGO_ENABLED=0 go build -o nc
2020

2121

2222
# Build the access-helper binary
23-
FROM golang:1.21 as access-helper_builder
23+
FROM golang:1.23 as access-helper_builder
2424

2525
ARG DEFAULT_SSH_USERNAME
2626
ARG DEFAULT_SSH_PASSWORD
@@ -40,7 +40,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build CGO_ENABLED=0 \
4040

4141

4242
# Build the containerlab binary
43-
FROM golang:1.21 as containerlab_builder
43+
FROM golang:1.23 as containerlab_builder
4444

4545
WORKDIR /workspace
4646
COPY containerlab/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/janog-netcon/netcon-problem-management-subsystem
22

3-
go 1.21
4-
5-
toolchain go1.21.5
3+
go 1.23
64

75
require (
86
github.com/fatih/color v1.16.0

0 commit comments

Comments
 (0)