File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ on: [push, pull_request]
55env :
66 PYTHON_VERISON_DEFAULT : " 3.10"
77
8+ # https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/controlling-permissions-for-github_token
9+ permissions : { }
10+
811jobs :
912 build :
1013
1619 uses : actions/setup-java@v1
1720 with :
1821 java-version : 1.8
19- - name : Build with Maven
20- run : |
21- cd tools
22- mvn -B package --file pom.xml
23- cd ..
2422 - name : Setup Python Environment
2523 # see https://github.com/actions/setup-python
2624 uses : actions/setup-python@v2
Load diff This file was deleted.
Load diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : CT Java
2+
3+ on :
4+ push :
5+ branches : ['master', 'main']
6+ pull_request :
7+ workflow_dispatch :
8+
9+ concurrency :
10+ group : ${{ github.workflow }}-${{ github.ref }}
11+ cancel-in-progress : true
12+
13+ defaults :
14+ run :
15+ working-directory : tools
16+
17+ # https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/controlling-permissions-for-github_token
18+ permissions : {}
19+
20+ jobs :
21+ test_java :
22+ runs-on : ubuntu-latest
23+ steps :
24+ - name : Checkout
25+ # see https://github.com/actions/checkout
26+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
27+ with :
28+ persist-credentials : false
29+ - name : Set up JDK
30+ # see https://github.com/actions/setup-java
31+ uses : actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
32+ with :
33+ java-version : ' 8'
34+ distribution : ' zulu'
35+ java-package : jdk
36+ - name : test with Maven
37+ run : mvn clean test
Original file line number Diff line number Diff line change 1+ # docs: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
2+
3+ name : CT JavaScript
4+
5+ on :
6+ push :
7+ branches : ['master', 'main']
8+ pull_request :
9+ workflow_dispatch :
10+
11+ concurrency :
12+ group : ${{ github.workflow }}-${{ github.ref }}
13+ cancel-in-progress : true
14+
15+ defaults :
16+ run :
17+ working-directory : tools/src/test/js
18+
19+ # https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/controlling-permissions-for-github_token
20+ permissions : {}
21+
22+ jobs :
23+ test_js :
24+ timeout-minutes : 30
25+ runs-on : ubuntu-latest
26+ steps :
27+ - name : Checkout
28+ # see https://github.com/actions/checkout
29+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
30+ with :
31+ persist-credentials : false
32+ - name : Setup Node.js
33+ # see https://github.com/actions/setup-node
34+ uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
35+ with :
36+ node-version : ' 24.x'
37+ package-manager-cache : false
38+ - name : Install Dependencies
39+ run : npm install
40+ - name : Run test
41+ run : npm test
Original file line number Diff line number Diff line change 1+ # docs: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
2+
3+ name : CT PHP
4+
5+ on :
6+ push :
7+ branches : ['master', 'main']
8+ pull_request :
9+ workflow_dispatch :
10+
11+ concurrency :
12+ group : ${{ github.workflow }}-${{ github.ref }}
13+ cancel-in-progress : true
14+
15+ defaults :
16+ run :
17+ working-directory : tools/src/test/php
18+
19+ # https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/controlling-permissions-for-github_token
20+ permissions : {}
21+
22+ jobs :
23+ test_php :
24+ timeout-minutes : 30
25+ runs-on : ubuntu-latest
26+ steps :
27+ - name : Checkout
28+ # see https://github.com/actions/checkout
29+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
30+ with :
31+ persist-credentials : false
32+ - name : Setup PHP
33+ # see https://github.com/shivammathur/setup-php
34+ uses : shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2
35+ with :
36+ php-version : " 8.4"
37+ tools : composer:v2
38+ - name : Install Depenencies
39+ run : composer install
40+ - name : Run test
41+ run : composer run test
Original file line number Diff line number Diff line change 1+ # docs: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
2+
3+ name : CT ProtoBuf
4+
5+ on :
6+ push :
7+ branches : ['master', 'main']
8+ pull_request :
9+ workflow_dispatch :
10+
11+ concurrency :
12+ group : ${{ github.workflow }}-${{ github.ref }}
13+ cancel-in-progress : true
14+
15+ defaults :
16+ run :
17+ working-directory : tools/src/test/proto
18+
19+ # https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/controlling-permissions-for-github_token
20+ permissions : {}
21+
22+ jobs :
23+ test_proto :
24+ timeout-minutes : 30
25+ runs-on : ubuntu-latest
26+ steps :
27+ - name : Checkout
28+ # see https://github.com/actions/checkout
29+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
30+ with :
31+ persist-credentials : false
32+ - name : Run test
33+ run : ./test.sh
You can’t perform that action at this time.
0 commit comments