File tree Expand file tree Collapse file tree 1 file changed +52
-0
lines changed
Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Java CI with Gradle
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ branches : [ "main" ]
8+
9+ jobs :
10+ build :
11+ name : build & test
12+ runs-on : ubuntu-latest
13+ permissions :
14+ contents : read
15+
16+ steps :
17+ - uses : actions/checkout@v4
18+ - name : Set up JDK 11
19+ uses : actions/setup-java@v4
20+ with :
21+ java-version : ' 11'
22+ distribution : ' temurin'
23+
24+ # Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies.
25+ # See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
26+ - name : Setup Gradle
27+ uses : gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
28+
29+ - name : Build
30+ run : ./gradlew --parallel :dumper:app:installDist
31+
32+ - name : Test
33+ run : ./gradlew :dumper:app:test
34+
35+ dependency-submission :
36+ name : dependabot-graph-creation
37+ runs-on : ubuntu-latest
38+ permissions :
39+ contents : write
40+
41+ steps :
42+ - uses : actions/checkout@v4
43+ - name : Set up JDK 17
44+ uses : actions/setup-java@v4
45+ with :
46+ java-version : ' 17'
47+ distribution : ' temurin'
48+
49+ # Generates and submits a dependency graph, enabling Dependabot Alerts for all project dependencies.
50+ # See: https://github.com/gradle/actions/blob/main/dependency-submission/README.md
51+ - name : Generate and submit dependency graph
52+ uses : gradle/actions/dependency-submission@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
You can’t perform that action at this time.
0 commit comments