Commit 0155438 1 parent 1d4463d commit 0155438 Copy full SHA for 0155438
File tree 1 file changed +51
-0
lines changed
1 file changed +51
-0
lines changed 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 with Gradle
9
+
10
+ on :
11
+ push :
12
+ branches : [ "master" ]
13
+ pull_request :
14
+ branches : [ "master" ]
15
+
16
+ jobs :
17
+ build :
18
+
19
+ runs-on : ubuntu-latest
20
+ permissions :
21
+ contents : read
22
+
23
+ steps :
24
+ - uses : actions/checkout@v4
25
+ - name : Set up JDK 17
26
+ uses : actions/setup-java@v4
27
+ with :
28
+ java-version : ' 17'
29
+ distribution : ' temurin'
30
+
31
+ - name : Setup Gradle
32
+ uses : gradle/actions/setup-gradle@v3 # v3.1.0
33
+
34
+ - name : Build with Gradle Wrapper
35
+ run : ./gradlew ktlintFormat build
36
+
37
+ dependency-submission :
38
+
39
+ runs-on : ubuntu-latest
40
+ permissions :
41
+ contents : write
42
+
43
+ steps :
44
+ - uses : actions/checkout@v4
45
+ - name : Set up JDK 17
46
+ uses : actions/setup-java@v4
47
+ with :
48
+ java-version : ' 17'
49
+ distribution : ' temurin'
50
+ - name : Generate and submit dependency graph
51
+ uses : gradle/actions/dependency-submission@v4 # v4.0.0
You can’t perform that action at this time.
0 commit comments