File tree Expand file tree Collapse file tree 4 files changed +46
-9
lines changed Expand file tree Collapse file tree 4 files changed +46
-9
lines changed Original file line number Diff line number Diff line change 1- # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2- # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3-
41name : test-go
52
63on :
Original file line number Diff line number Diff line change 1+ name : test-java
2+
3+ on :
4+ push :
5+ pull_request :
6+ types :
7+ - merged
8+ branches :
9+ - master
10+
11+ jobs :
12+ test :
13+ runs-on : ${{ matrix.os }}
14+ strategy :
15+ fail-fast : false
16+ matrix :
17+ os :
18+ - ubuntu-latest
19+ java : ['11', '16']
20+ include :
21+ - os : windows-latest
22+ java : ' 16'
23+ - os : macos-latest
24+ java : ' 16'
25+
26+ steps :
27+ - uses : actions/checkout@v2
28+ - name : Cache local Maven repository
29+ uses : actions/cache@v2
30+ with :
31+ path : ~/.m2/repository
32+ key : build-${{ matrix.os }}-maven-${{ hashFiles('**/pom.xml') }}
33+ restore-keys : |
34+ build-${{ matrix.os }}-maven-
35+ - uses : AdoptOpenJDK/install-jdk@v1
36+ with :
37+ version : ${{ matrix.java }}
38+ - name : mvn install
39+ working-directory : ./java
40+ run : mvn install
41+ - name : mvn test
42+ working-directory : ./java
43+ run : mvn test
44+ - name : check jar
45+ working-directory : ./java
46+ run : ./scripts/check-jar.sh
Original file line number Diff line number Diff line change 1- # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2- # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3-
41name : test-javascript
52
63on :
Original file line number Diff line number Diff line change 1- # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2- # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3-
41name : test-ruby
52
63on :
You can’t perform that action at this time.
0 commit comments