File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
7+
8+ name : Build and test
9+
10+ on :
11+ pull_request :
12+ branches : [ "main" ]
13+
14+ permissions :
15+ contents : write
16+
17+ jobs :
18+ build :
19+ runs-on : ubuntu-latest
20+ steps :
21+ - uses : actions/checkout@v3
22+
23+ - name : Set up JDK 17
24+ uses : actions/setup-java@v3
25+ with :
26+ java-version : ' 17'
27+ distribution : ' temurin'
28+
29+ - name : Build with Gradle
30+ uses : gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
31+ with :
32+ arguments : build
Original file line number Diff line number Diff line change 55# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
66# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
77
8- name : CI Build
8+ name : Build, test and update coverage badge
99
1010on :
1111 push :
1212 branches : [ "main" ]
13+ pull_request :
14+ branches : [ "main" ]
1315
1416permissions :
1517 contents : write
You can’t perform that action at this time.
0 commit comments