File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,39 +2,50 @@ name: Checks
22
33on :
44 push :
5- branches : ["**"]
5+ branches :
6+ - main
7+ pull_request :
68
79permissions :
810 contents : read
911 packages : read
1012
13+ concurrency :
14+ group : checks-${{ github.workflow }}-${{ github.ref }}
15+ cancel-in-progress : true
16+
1117jobs :
12- ci :
18+ checks :
19+ name : Java ${{ matrix.java-version }}
1320 runs-on : ubuntu-latest
14-
15- env :
16- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
21+ timeout-minutes : 15
1722
1823 strategy :
24+ fail-fast : false
1925 matrix :
20- java-version : [24]
26+ java-version :
27+ - " 11"
28+ - " 26"
29+
30+ env :
31+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2132
2233 steps :
23- - name : Checkout code
24- uses : actions/checkout@v4
34+ - name : Check out repository
35+ uses : actions/checkout@v7
2536
26- - name : Set up JDK ${{ matrix.java-version }}
27- uses : actions/setup-java@v4
37+ - name : Set up Java ${{ matrix.java-version }}
38+ uses : actions/setup-java@v5
2839 with :
2940 java-version : ${{ matrix.java-version }}
30- distribution : " temurin"
31- cache : " maven"
41+ distribution : temurin
42+ cache : maven
3243 server-id : github
3344 server-username : GITHUB_ACTOR
3445 server-password : GITHUB_TOKEN
3546
36- - name : Build with Maven
37- run : mvn clean compile
47+ - name : Build
48+ run : mvn --batch-mode --no-transfer-progress clean package
3849
39- - name : Run
40- run : mvn exec:java -Dexec.mainClass=" com.example.App"
50+ - name : Run application
51+ run : mvn --batch-mode --no-transfer-progress exec:java -Dexec.mainClass=com.example.App
Original file line number Diff line number Diff line change 3131 <dependency >
3232 <groupId >com.featurevisor</groupId >
3333 <artifactId >featurevisor-java</artifactId >
34- <version >1 .0.0</version >
34+ <version >3 .0.0</version >
3535 </dependency >
3636 <dependency >
3737 <groupId >com.fasterxml.jackson.core</groupId >
You can’t perform that action at this time.
0 commit comments