Skip to content

Commit 0e200fd

Browse files
Merge pull request #161 from adambkaplan/bump-go-1.20.8
Update go to 1.20 and ko to v0.15.0
2 parents 2560197 + 024eac1 commit 0e200fd

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Install Go
1919
uses: actions/setup-go@v3
2020
with:
21-
go-version: 1.19.x
21+
go-version: 1.20.x
2222
cache: true
2323
check-latest: true
2424
- name: Build
@@ -33,7 +33,7 @@ jobs:
3333
- name: Install Go
3434
uses: actions/setup-go@v3
3535
with:
36-
go-version: 1.19.x
36+
go-version: 1.20.x
3737
cache: true
3838
check-latest: true
3939
- name: Verify fmt
@@ -62,7 +62,7 @@ jobs:
6262
- name: Install Go
6363
uses: actions/setup-go@v3
6464
with:
65-
go-version: 1.19.x
65+
go-version: 1.20.x
6666
cache: true
6767
check-latest: true
6868
- name: Install kubectl

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ KO ?= $(LOCALBIN)/ko
326326

327327
## Tool Versions
328328

329-
KO_VERSION ?= v0.11.2
329+
KO_VERSION ?= v0.15.0
330330

331331
.PHONY: ko
332332
ko: $(KO) ## Download ko locally if necessary

docs/development/local-development.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Prerequisites
44

55
* Ensure you have access to a Kubernetes cluster via `kubectl` with cluster admin permissions.
6-
* Install Go version 1.18 or higher.
6+
* Install [Go](https://go.dev/doc/install) version 1.20 or higher.
77

88
## Building locally
99

@@ -28,7 +28,7 @@ The following make options can be set:
2828
* `VERSION` - defaults to the current version of Shipwright.
2929
This must be a valid [semantic version](https://semver.org/), and will be used as the tag for the resulting image.
3030

31-
Refer to the [ko documentation](https://github.com/google/ko#local-publishing-options) for more information.
31+
Refer to the [ko documentation](https://ko.build/) for more information.
3232

3333
## Deploy to Kubernetes
3434

docs/development/olm-development.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Additional steps need to be taken to ensure the operator can be deployed with OL
99
## Prerequisites
1010

1111
* Ensure you have access to a Kubernetes cluster via `kubectl` with cluster admin permissions.
12-
* Install Go version 1.17 or higher.
12+
* Install [Go](https://go.dev/doc/install) version 1.20 or higher.
1313
* Install OLM on your cluster. This can be done using the `make install-olm` command.
1414
* Ability to push to a container registry that is accessible inside your Kubernetes cluster.
1515

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/shipwright-io/operator
22

3-
go 1.19
3+
go 1.20
44

55
require (
66
github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d

hack/install-ko.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
set -e
99

1010
DEST="${1:-bin/ko}"
11-
KO_VERSION="${KO_VERSION:-0.11.2}"
11+
KO_VERSION="${KO_VERSION:-0.15.0}"
1212

1313
OS="${OS:-linux}"
1414
ARCH="${ARCH:-amd64}"

0 commit comments

Comments
 (0)