File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
scripts/generate-sdk/languages Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1212 strategy :
1313 matrix :
1414 os : [ubuntu-latest, macos-latest]
15- go-version : ["1.20", "1. 21", "1.22"]
15+ go-version : ["1.21", "1.22"]
1616 runs-on : ${{ matrix.os }}
1717 steps :
1818 - name : Install SSH Key
3838 with :
3939 go-version : ${{ matrix.go-version }}
4040 - name : Lint
41- if : ${{ matrix.go-version == '1.19' || matrix.go-version == '1.20' || matrix.go-version == '1. 21' || matrix.go-version == '1.22'}}
41+ if : ${{ matrix.go-version == '1.21' || matrix.go-version == '1.22'}}
4242 working-directory : ./sdk-repo-updated
4343 run : make lint skip-non-generated-files=true
4444 - name : Test
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Currently only generation of Go libraries are supported. The output is stored in
88
99If you want to modify script or templates and you can run code locally.
1010
11- Requires ` Go 1.20 ` or higher.
11+ Requires ` Go 1.21 ` or higher.
1212
13131 . Set up the project and tools by running
1414 ```
Original file line number Diff line number Diff line change @@ -8,15 +8,15 @@ SDK_REPO_LOCAL_PATH="${ROOT_DIR}/sdk-repo-updated"
88
99OAS_REPO=https://github.com/stackitcloud/stackit-api-specifications
1010
11- SDK_GO_VERSION=" 1.20 "
11+ SDK_GO_VERSION=" 1.21 "
1212
1313SERVICES_FOLDER=" ${SDK_REPO_LOCAL_PATH} /services"
1414EXAMPLES_FOLDER=" ${SDK_REPO_LOCAL_PATH} /examples"
1515SCRIPTS_FOLDER=" ${SDK_REPO_LOCAL_PATH} /scripts"
1616
1717GENERATOR_LOG_LEVEL=" error" # Must be a Java log level (error, warn, info...)
1818
19- SDK_GO_VERSION=" 1.20 "
19+ SDK_GO_VERSION=" 1.21 "
2020
2121generate_go_sdk () {
2222 # Required parameters
Original file line number Diff line number Diff line change 11module { {gitHost} }/{ {gitUserId} }/{ {gitRepoId} }/services{ {#isGoSubmodule} }/{ {packageName} }{ {/isGoSubmodule} }
22
3- go 1.20
3+ go 1.21
44
55require (
66 { {gitHost} }/{ {gitUserId} }/{ {gitRepoId} }/core v0.15.1
You can’t perform that action at this time.
0 commit comments