Skip to content

Commit d025752

Browse files
Use Go 1.23 everywhere
Signed-off-by: Sascha Schwarze <schwarzs@de.ibm.com>
1 parent a71affe commit d025752

12 files changed

+14
-14
lines changed

.github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Install Go
2424
uses: actions/setup-go@v5
2525
with:
26-
go-version: '1.22.x'
26+
go-version: '1.23.x'
2727
cache: true
2828
check-latest: true
2929
- name: Install Trivy
@@ -78,7 +78,7 @@ jobs:
7878
- name: Install Go
7979
uses: actions/setup-go@v5
8080
with:
81-
go-version: '1.22.x'
81+
go-version: '1.23.x'
8282
cache: true
8383
check-latest: true
8484
- name: Install Ko
@@ -168,7 +168,7 @@ jobs:
168168
- name: Install Go
169169
uses: actions/setup-go@v5
170170
with:
171-
go-version: '1.22.x'
171+
go-version: '1.23.x'
172172
cache: true
173173
check-latest: true
174174
- name: Install kubectl

.github/workflows/nightly.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- uses: actions/checkout@v4
2323
- uses: actions/setup-go@v5
2424
with:
25-
go-version: '1.22.x'
25+
go-version: '1.23.x'
2626
cache: true
2727
check-latest: true
2828

.github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
fetch-depth: 0 # Fetch all history, needed for release note generation.
3838
- uses: actions/setup-go@v5
3939
with:
40-
go-version: '1.22.x'
40+
go-version: '1.23.x'
4141
cache: true
4242
check-latest: true
4343

.github/workflows/report-release-vulnerabilities.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Install Go
2222
uses: actions/setup-go@v5
2323
with:
24-
go-version: '1.22.x'
24+
go-version: '1.23.x'
2525
cache: true
2626
check-latest: true
2727
- name: Install crane

.github/workflows/update-tekton-version.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Install Go
2323
uses: actions/setup-go@v5
2424
with:
25-
go-version: '1.22.x'
25+
go-version: '1.23.x'
2626
cache: true
2727
check-latest: true
2828

.github/workflows/verify.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Install Go
2828
uses: actions/setup-go@v5
2929
with:
30-
go-version: '1.22.x'
30+
go-version: '1.23.x'
3131
cache: true
3232
check-latest: true
3333
cache-dependency-path: go/src/github.com/shipwright-io/build

HACK.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ In the near future, the above would be setup by the controller.
4141
make clean && make build
4242
```
4343

44-
* This project uses Golang 1.22 and controller-gen v0.15.0.
44+
* This project uses Golang 1.23 and controller-gen v0.15.0.
4545
* The controllers create/watch Tekton objects.
4646

4747
# Testing

docs/buildstrategies.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ The build strategy provides the following parameters that you can set in a Build
311311
| Parameter | Description | Default |
312312
|---------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------|
313313
| `go-flags` | Value for the GOFLAGS environment variable. | Empty |
314-
| `go-version` | Version of Go, must match a tag from [the golang image](https://hub.docker.com/_/golang?tab=tags) | `1.22` |
314+
| `go-version` | Version of Go, must match a tag from [the golang image](https://hub.docker.com/_/golang?tab=tags) | `1.23` |
315315
| `ko-version` | Version of ko, must be either `latest` for the newest release, or a [ko release name](https://github.com/ko-build/ko/releases) | `latest` |
316316
| `package-directory` | The directory inside the context directory containing the main package. | `.` |
317317
| `target-platform` | Target platform to be built. For example: `linux/arm64`. Multiple platforms can be provided separated by comma, for example: `linux/arm64,linux/amd64`. The value `all` will build all platforms supported by the base image. The value `current` will build the platform on which the build runs. | `current` |

samples/v1alpha1/build/build_ko_cr.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ spec:
1010
- name: go-flags
1111
value: "-v -mod=vendor -ldflags=-w"
1212
- name: go-version
13-
value: "1.22"
13+
value: "1.23"
1414
- name: package-directory
1515
value: ./cmd/shipwright-build-controller
1616
source:

samples/v1alpha1/buildstrategy/ko/buildstrategy_ko_cr.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ spec:
1010
default: ""
1111
- name: go-version
1212
description: "Version of Go, must match a tag from https://hub.docker.com/_/golang?tab=tags"
13-
default: "1.22"
13+
default: "1.23"
1414
- name: ko-version
1515
description: "Version of ko, must be either 'latest', or a release name from https://github.com/ko-build/ko/releases"
1616
default: latest

samples/v1beta1/build/build_ko_cr.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ spec:
88
- name: go-flags
99
value: "-v -mod=vendor -ldflags=-w"
1010
- name: go-version
11-
value: "1.22"
11+
value: "1.23"
1212
- name: package-directory
1313
value: ./cmd/shipwright-build-controller
1414
source:

samples/v1beta1/buildstrategy/ko/buildstrategy_ko_cr.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ spec:
1010
default: ""
1111
- name: go-version
1212
description: "Version of Go, must match a tag from https://hub.docker.com/_/golang?tab=tags"
13-
default: "1.22"
13+
default: "1.23"
1414
- name: ko-version
1515
description: "Version of ko, must be either 'latest', or a release name from https://github.com/ko-build/ko/releases"
1616
default: latest

0 commit comments

Comments
 (0)