22
33on :
44 push :
5- branches : [ main ]
5+ branches : [main]
66 pull_request : ~
77 workflow_dispatch : ~
88
@@ -11,15 +11,16 @@ jobs:
1111 runs-on : ubuntu-latest
1212 strategy :
1313 matrix :
14- java_version : [ "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23" ]
14+ java_version :
15+ ['8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25']
1516 steps :
16- - uses : actions/checkout@v5
17- - name : Set up JDK for compilation
18- uses : actions/setup-java@v5
17+ - uses : actions/checkout@v6
18+ - uses : extractions/setup-just@v3
19+ - uses : actions/setup-java@v5
1920 with :
20- distribution : " zulu"
21- java-version : " 21 " # Always use the most recent LTS JDK for building
22- cache : " maven"
21+ distribution : ' zulu'
22+ java-version : ' 25 ' # Always use the most recent LTS JDK for building
23+ cache : ' maven'
2324 - name : Load Maven dependencies cache
2425 uses : actions/cache@v3
2526 with :
@@ -28,31 +29,31 @@ jobs:
2829 restore-keys : |
2930 ${{ runner.os }}-maven-
3031 - name : Install dependencies
31- run : make install
32+ run : just install
3233 - name : Compile
33- run : make build
34+ run : just build
3435 - name : Set up Java ${{ matrix.java_version }}
3536 uses : actions/setup-java@v5
3637 with :
37- distribution : " zulu"
38+ distribution : ' zulu'
3839 java-version : ${{ matrix.java_version }}
39- cache : " maven"
40+ cache : ' maven'
4041 - name : Run test with Java ${{ matrix.java_version }}
41- run : make test
42+ run : just test
4243 coverage :
4344 runs-on : ubuntu-latest
4445 steps :
45- - uses : actions/checkout@v5
46- - name : Set up JDK for compilation
47- uses : actions/setup-java@v5
46+ - uses : actions/checkout@v6
47+ - uses : extractions/setup-just@v3
48+ - uses : actions/setup-java@v5
4849 with :
49- distribution : " zulu"
50- java-version : " 21 " # Always use the most recent LTS JDK for building
51- cache : " maven"
50+ distribution : ' zulu'
51+ java-version : ' 25 ' # Always use the most recent LTS JDK for building
52+ cache : ' maven'
5253 - name : Install dependencies
53- run : make install
54+ run : just install
5455 - name : Test coverage
55- run : make coverage
56+ run : just coverage
5657 - name : Load Rust cache
5758 if : github.ref == 'refs/heads/main'
5859 uses : Swatinem/rust-cache@v2
@@ -67,20 +68,21 @@ jobs:
6768 uses : coverallsapp/github-action@master
6869 with :
6970 github-token : ${{ secrets.GITHUB_TOKEN }}
70- path-to-lcov : " ./coverage.lcov"
71+ path-to-lcov : ' ./coverage.lcov'
7172 lint :
7273 runs-on : ubuntu-latest
7374 steps :
74- - uses : actions/checkout@v5
75+ - uses : actions/checkout@v6
76+ - uses : extractions/setup-just@v3
7577 - uses : actions/setup-java@v5
7678 with :
77- distribution : " zulu"
78- java-version : " 21 " # Always use the most recent LTS JDK for building
79- cache : " maven"
79+ distribution : ' zulu'
80+ java-version : ' 25 ' # Always use the most recent LTS JDK for building
81+ cache : ' maven'
8082 - name : Install checkstyle and style guide
81- run : make install-checkstyle
83+ run : just install-checkstyle
8284 - name : Lint
83- run : make lint
85+ run : just lint
8486 - name : Upload Test results
8587 uses : actions/upload-artifact@master
8688 with :
0 commit comments