File tree 1 file changed +36
-0
lines changed
1 file changed +36
-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 : Test Compilation
9
+
10
+ on :
11
+ push :
12
+ branches : [ "main" ]
13
+ paths : [ "src" ]
14
+ pull_request :
15
+ branches : [ "main" ]
16
+ paths : [ "src" ]
17
+
18
+ permissions :
19
+ contents : read
20
+
21
+ jobs :
22
+ build :
23
+
24
+ runs-on : ubuntu-latest
25
+
26
+ steps :
27
+ - uses : actions/checkout@v3
28
+ - name : Set up JDK 17
29
+ uses : actions/setup-java@v3
30
+ with :
31
+ java-version : ' 17'
32
+ distribution : ' temurin'
33
+ - name : Build with Gradle
34
+ uses : gradle/gradle-build-action@master
35
+ with :
36
+ arguments : -xtest assemble
You can’t perform that action at this time.
0 commit comments