77 JAVA_VERSION : " 11"
88
99jobs :
10- main :
11- name : CI
10+ main-go :
11+ name : CI [Go]
1212 strategy :
1313 matrix :
1414 os : [ubuntu-latest, macos-latest]
1515 go-version : ["1.18", "1.19", "1.20", "1.21", "1.22"]
16- python-version : ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
1716 runs-on : ${{ matrix.os }}
1817 steps :
1918 - name : Install SSH Key
@@ -32,28 +31,48 @@ jobs:
3231 uses : ./.github/actions/build
3332 with :
3433 go-version : ${{ env.GO_VERSION_BUILD }}
35- - name : Generate Go SDK
34+ - name : Generate SDK
3635 uses : ./.github/actions/generate-sdk/go
3736 - name : Install Go ${{ matrix.go-version }}
3837 uses : actions/setup-go@v5
3938 with :
4039 go-version : ${{ matrix.go-version }}
41- - name : Lint Go SDK
40+ - name : Lint
4241 if : ${{ matrix.go-version == '1.19' || matrix.go-version == '1.20' || matrix.go-version == '1.21' || matrix.go-version == '1.22'}}
4342 working-directory : ./sdk-repo-updated
4443 run : make lint skip-non-generated-files=true
45- - name : Test Go SDK
44+ - name : Test
4645 working-directory : ./sdk-repo-updated
4746 run : make test skip-non-generated-files=true
48- - name : Generate Python SDK
47+ main-python :
48+ name : CI [Python]
49+ strategy :
50+ matrix :
51+ os : [ubuntu-latest, macos-latest]
52+ python-version : ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
53+ runs-on : ${{ matrix.os }}
54+ steps :
55+ - name : Install SSH Key
56+ uses : shimataro/ssh-key-action@v2
57+ with :
58+ key : ${{ secrets.SSH_PRIVATE_KEY }}
59+ known_hosts : ${{ vars.SSH_KNOWN_HOSTS }}
60+ - name : Install Java
61+ uses : actions/setup-java@v4
62+ with :
63+ distribution : " temurin"
64+ java-version : ${{ env.JAVA_VERSION }}
65+ - name : Checkout
66+ uses : actions/checkout@v4
67+ - name : Generate SDK
4968 uses : ./.github/actions/generate-sdk/python
5069 - name : Install Python ${{ matrix.python-version }}
5170 uses : actions/setup-python@v5
5271 with :
5372 python-version : ${{ matrix.python-version }}
54- - name : Lint Python SDK
73+ - name : Lint
5574 working-directory : ./sdk-repo-updated
5675 run : make lint
57- - name : Test Python SDK
76+ - name : Test
5877 working-directory : ./sdk-repo-updated
5978 run : make test
0 commit comments