Skip to content

Commit f34b15f

Browse files
committed
feat: upgrade to go 1.20
1 parent 564c310 commit f34b15f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [ubuntu-latest, macos-latest]
15-
go-version: ["1.18", "1.19", "1.20", "1.21", "1.22"]
15+
go-version: ["1.20", "1.21", "1.22"]
1616
runs-on: ${{ matrix.os }}
1717
steps:
1818
- name: Install SSH Key

scripts/generate-sdk/languages/go.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ SDK_REPO_LOCAL_PATH="${ROOT_DIR}/sdk-repo-updated"
88

99
OAS_REPO=https://github.com/stackitcloud/stackit-api-specifications
1010

11-
SDK_GO_VERSION="1.18"
11+
SDK_GO_VERSION="1.20"
1212

1313
SERVICES_FOLDER="${SDK_REPO_LOCAL_PATH}/services"
1414
EXAMPLES_FOLDER="${SDK_REPO_LOCAL_PATH}/examples"
1515
SCRIPTS_FOLDER="${SDK_REPO_LOCAL_PATH}/scripts"
1616

1717
GENERATOR_LOG_LEVEL="error" # Must be a Java log level (error, warn, info...)
1818

19-
SDK_GO_VERSION="1.18"
19+
SDK_GO_VERSION="1.20"
2020

2121
generate_go_sdk() {
2222
# Required parameters

templates/go/go.mod.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module {{gitHost}}/{{gitUserId}}/{{gitRepoId}}/services{{#isGoSubmodule}}/{{packageName}}{{/isGoSubmodule}}
22

3-
go 1.18
3+
go 1.20
44

55
require (
66
{{gitHost}}/{{gitUserId}}/{{gitRepoId}}/core v0.15.1

0 commit comments

Comments
 (0)