Skip to content

Commit 7f7f5bd

Browse files
committed
Upgrade Go version from 1.22 to 1.23 in go.mod and update workflow files to reflect the new version. Adjust formatting for consistency in YAML files. (#226)
Signed-off-by: xuezhaojun <[email protected]>
1 parent 2fb97f7 commit 7f7f5bd

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

Diff for: .github/workflows/go-postsubmit.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ on:
99

1010
env:
1111
# Common versions
12-
GO_VERSION: '1.22'
13-
GO_REQUIRED_MIN_VERSION: ''
12+
GO_VERSION: "1.23"
13+
GO_REQUIRED_MIN_VERSION: ""
1414

1515
jobs:
1616
images:
1717
name: images
1818
runs-on: ubuntu-latest
1919
strategy:
2020
matrix:
21-
arch: [ amd64, arm64 ]
21+
arch: [amd64, arm64]
2222
steps:
2323
- name: checkout code
2424
uses: actions/checkout@v4
@@ -44,7 +44,7 @@ jobs:
4444
image-manifest:
4545
name: image manifest
4646
runs-on: ubuntu-latest
47-
needs: [ images ]
47+
needs: [images]
4848
steps:
4949
- name: checkout code
5050
uses: actions/checkout@v4

Diff for: .github/workflows/go-presubmit.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313

1414
env:
1515
# Common versions
16-
GO_VERSION: "1.22"
16+
GO_VERSION: "1.23"
1717
GO_REQUIRED_MIN_VERSION: ""
1818

1919
jobs:

Diff for: .github/workflows/go-release.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ name: GoRelease
33
on:
44
push:
55
tags:
6-
- 'v*.*.*'
6+
- "v*.*.*"
77
env:
88
# Common versions
9-
GO_VERSION: '1.22'
10-
GO_REQUIRED_MIN_VERSION: ''
9+
GO_VERSION: "1.23"
10+
GO_REQUIRED_MIN_VERSION: ""
1111
GITHUB_REF: ${{ github.ref }}
12-
CHART_NAME: 'cluster-proxy'
12+
CHART_NAME: "cluster-proxy"
1313

1414
jobs:
1515
env:
@@ -37,10 +37,10 @@ jobs:
3737
images:
3838
name: images
3939
runs-on: ubuntu-latest
40-
needs: [ env ]
40+
needs: [env]
4141
strategy:
4242
matrix:
43-
arch: [ amd64, arm64 ]
43+
arch: [amd64, arm64]
4444
steps:
4545
- name: checkout code
4646
uses: actions/checkout@v4
@@ -66,7 +66,7 @@ jobs:
6666
image-manifest:
6767
name: image manifest
6868
runs-on: ubuntu-latest
69-
needs: [ env, images ]
69+
needs: [env, images]
7070
steps:
7171
- name: checkout code
7272
uses: actions/checkout@v4
@@ -90,7 +90,7 @@ jobs:
9090
release:
9191
name: release
9292
runs-on: ubuntu-latest
93-
needs: [ env, image-manifest ]
93+
needs: [env, image-manifest]
9494
steps:
9595
- name: checkout code
9696
uses: actions/checkout@v4

Diff for: cmd/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM golang:1.22 as builder
2+
FROM golang:1.23 as builder
33

44
WORKDIR /workspace
55

Diff for: go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module open-cluster-management.io/cluster-proxy
22

3-
go 1.22.0
3+
go 1.23.6
44

55
require (
66
github.com/onsi/ginkgo/v2 v2.17.1

0 commit comments

Comments
 (0)