Skip to content

Commit

Permalink
update all references to go 1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
lostbean committed Dec 6, 2023
1 parent 10c0cfb commit 00851b7
Show file tree
Hide file tree
Showing 22 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-proto-break.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: '1.20'
- run: go install github.com/bufbuild/buf/cmd/[email protected]
- uses: actions/checkout@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gofmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: '1.20'
- uses: actions/checkout@v3
- run: scripts/generate-kurtosis-version.sh
- uses: Jerome1337/[email protected]
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,21 +195,21 @@ On MacOS:
brew install docker
```

#### Go (1.19 or above)
#### Go (1.20 or above)

On MacOS:
```bash
brew install go@1.19
brew install go@1.20
# Add the Go binary dir to your PATH
PATH="${BREW_PREFIX}/opt/go@1.19/bin:$PATH"
PATH="${BREW_PREFIX}/opt/go@1.20/bin:$PATH"
# Add the GOPATH bin dir to your PATH
PATH="${HOME}/go/bin:$PATH"
```

On Ubuntu:
```bash
wget https://go.dev/dl/go1.19.13.linux-amd64.tar.gz
tar -C /usr/local -zxf go1.19.13.linux-amd64.tar.gz
wget https://go.dev/dl/go1.20.8.linux-amd64.tar.gz
tar -C /usr/local -zxf go1.20.8.linux-amd64.tar.gz
# Add the following to your bashrc or equivalent.
export PATH=$PATH:/usr/local/go/bin
```
Expand Down
2 changes: 1 addition & 1 deletion api/golang/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/kurtosis-tech/kurtosis/api/golang

go 1.19
go 1.20

replace github.com/kurtosis-tech/kurtosis/grpc-file-transfer/golang => ../../grpc-file-transfer/golang

Expand Down
2 changes: 1 addition & 1 deletion cli/cli/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/kurtosis-tech/kurtosis/cli/cli

go 1.19
go 1.20

replace (
github.com/kurtosis-tech/kurtosis/api/golang => ../../api/golang
Expand Down
2 changes: 1 addition & 1 deletion cloud/api/golang/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/kurtosis-tech/kurtosis/cloud/api/golang

go 1.19
go 1.20

require (
connectrpc.com/connect v1.11.1
Expand Down
2 changes: 1 addition & 1 deletion connect-server/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/kurtosis-tech/kurtosis/connect-server

go 1.19
go 1.20

require (
github.com/kurtosis-tech/stacktrace v0.0.0-20211028211901-1c67a77b5409
Expand Down
2 changes: 1 addition & 1 deletion container-engine-lib/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/kurtosis-tech/kurtosis/container-engine-lib

go 1.19
go 1.20

require (
github.com/dmarkham/enumer v1.5.5
Expand Down
2 changes: 1 addition & 1 deletion contexts-config-store/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/kurtosis-tech/kurtosis/contexts-config-store

go 1.19
go 1.20

require (
github.com/adrg/xdg v0.4.0
Expand Down
2 changes: 1 addition & 1 deletion core/files_artifacts_expander/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/kurtosis-tech/kurtosis/core/files_artifacts_expander

go 1.19
go 1.20

replace (
github.com/kurtosis-tech/kurtosis/api/golang => ../../api/golang
Expand Down
2 changes: 1 addition & 1 deletion core/launcher/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/kurtosis-tech/kurtosis/core/launcher

go 1.19
go 1.20

replace (
github.com/kurtosis-tech/kurtosis/container-engine-lib => ../../container-engine-lib
Expand Down
2 changes: 1 addition & 1 deletion core/server/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/kurtosis-tech/kurtosis/core/server

go 1.19
go 1.20

replace (
github.com/kurtosis-tech/kurtosis/api/golang => ../../api/golang
Expand Down
2 changes: 1 addition & 1 deletion enclave-manager/api/golang/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/kurtosis-tech/kurtosis/enclave-manager/api/golang

go 1.19
go 1.20

require (
connectrpc.com/connect v1.11.1
Expand Down
2 changes: 1 addition & 1 deletion enclave-manager/server/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/kurtosis-tech/kurtosis/enclave-manager

go 1.19
go 1.20

require (
connectrpc.com/connect v1.11.1
Expand Down
2 changes: 1 addition & 1 deletion engine/launcher/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/kurtosis-tech/kurtosis/engine/launcher

go 1.19
go 1.20

replace (
github.com/kurtosis-tech/kurtosis/container-engine-lib => ../../container-engine-lib
Expand Down
2 changes: 1 addition & 1 deletion engine/server/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/kurtosis-tech/kurtosis/engine/server

go 1.19
go 1.20

replace (
github.com/kurtosis-tech/kurtosis/api/golang => ../../api/golang
Expand Down
2 changes: 1 addition & 1 deletion go.work
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
go 1.19
go 1.20

use (
./api/golang
Expand Down
2 changes: 1 addition & 1 deletion grpc-file-transfer/golang/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/kurtosis-tech/kurtosis/grpc-file-transfer/golang

go 1.19
go 1.20

require (
github.com/kurtosis-tech/stacktrace v0.0.0-20211028211901-1c67a77b5409
Expand Down
2 changes: 1 addition & 1 deletion internal_testsuites/golang/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/kurtosis-tech/kurtosis-cli/golang_internal_testsuite

go 1.19
go 1.20

replace (
github.com/kurtosis-tech/kurtosis/api/golang => ../../api/golang
Expand Down
2 changes: 1 addition & 1 deletion kurtosis_version/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/kurtosis-tech/kurtosis/kurtosis_version

go 1.19
go 1.20

// NOTE: This module is a tiny module that contains ONLY a Go file (generated via Bash) which contains the current version of the repo, for use
// in the APIC and Engine servers, reporting their own version
Expand Down
2 changes: 1 addition & 1 deletion name_generator/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/kurtosis-tech/kurtosis/name_generator

go 1.19
go 1.20

require github.com/stretchr/testify v1.8.4

Expand Down
2 changes: 1 addition & 1 deletion scripts/versions_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -euo pipefail # Bash "strict mode"

# VERSION NUMBERS
# FOR GO WE EXPECT _AT LEAST_ THIS VERSION, BUT WE ARE OK WITH SUPERIOR VERSIONS
GO_VERSION=1.19
GO_VERSION=1.20

# FOR NODE, WE PIN THE EXACT VERSION NUMBER
NODE_VERSION=16.14
Expand Down

0 comments on commit 00851b7

Please sign in to comment.