File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Pre Merge Checks
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ pull_request :
8
+ workflow_dispatch :
9
+
10
+ permissions :
11
+ contents : read
12
+
13
+ jobs :
14
+ gradle :
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ # https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle#using-the-gradle-starter-workflow
18
+ - name : Checkout Repo
19
+ uses : actions/checkout@v3
20
+
21
+ # https://github.com/marketplace/actions/setup-java-jdk
22
+ - name : Set up JDK 17
23
+ uses : actions/setup-java@v3
24
+ with :
25
+ java-version : 11
26
+ distribution : ' temurin'
27
+
28
+ # https://github.com/marketplace/actions/gradle-wrapper-validation
29
+ - name : Validate Gradle wrapper
30
+ uses : gradle/wrapper-validation-action@v1
31
+
32
+ # https://github.com/marketplace/actions/gradle-build-action
33
+ - name : Build with Gradle
34
+ uses : gradle/gradle-build-action@v2
35
+ with :
36
+ gradle-home-cache-cleanup : true
37
+ arguments : build --stacktrace --info
You can’t perform that action at this time.
0 commit comments