File tree Expand file tree Collapse file tree 2 files changed +43
-2
lines changed Expand file tree Collapse file tree 2 files changed +43
-2
lines changed Original file line number Diff line number Diff line change 5
5
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
6
6
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
7
7
8
- name : Java CI with Gradle
8
+ name : Java CI Coverage with Gradle
9
9
10
10
on :
11
11
push :
21
21
22
22
strategy :
23
23
matrix :
24
- os : [ubuntu-latest, macos-latest, windows-latest ]
24
+ os : [ubuntu-latest]
25
25
runs-on : ${{ matrix.os }}
26
26
27
27
steps :
Original file line number Diff line number Diff line change
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+ # This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
6
+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
7
+
8
+ name : Java CI Tests with Gradle
9
+
10
+ on :
11
+ push :
12
+ branches : [ main, develop, feature/* ]
13
+ pull_request :
14
+ branches : [ main ]
15
+
16
+ permissions :
17
+ contents : read
18
+
19
+ jobs :
20
+ gradle :
21
+
22
+ strategy :
23
+ matrix :
24
+ os : [ubuntu-latest, macos-latest, windows-latest]
25
+ runs-on : ${{ matrix.os }}
26
+
27
+ steps :
28
+ - uses : actions/checkout@v4
29
+ - name : Set up JDK 20
30
+ uses : actions/setup-java@v4
31
+ with :
32
+ java-version : ' 20'
33
+ distribution : temurin
34
+
35
+ - name : Validate Gradle wrapper
36
+ uses : gradle/wrapper-validation-action@v3
37
+
38
+ - name : Setup and execute Gradle 'test' task
39
+ uses : gradle/gradle-build-action@v3
40
+ with :
41
+ arguments : --console=verbose clean checkstyleMain checkstyleTest test
You can’t perform that action at this time.
0 commit comments