File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Tests
2
+
3
+ # Controls when the action will run.
4
+ on :
5
+
6
+ pull_request :
7
+ branches : [ main ]
8
+
9
+ # Allows you to run this workflow manually from the Actions tab
10
+ workflow_dispatch :
11
+
12
+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
13
+ jobs :
14
+ test :
15
+ runs-on : ubuntu-latest
16
+
17
+ steps :
18
+ - name : Git Checkout
19
+ uses : actions/checkout@v2
20
+ with :
21
+ fetch-depth : 0
22
+
23
+ - name : Setup Java
24
+ uses : actions/setup-java@v1
25
+ with :
26
+ java-version : ' 15'
27
+
28
+ - name : Setup Build Cache
29
+ uses : actions/cache@v2
30
+ with :
31
+ path : |
32
+ ~/.gradle/caches
33
+ ~/.gradle/wrapper
34
+ key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
35
+ restore-keys : |
36
+ ${{ runner.os }}-gradle-
37
+ - name : Tests
38
+ run : |
39
+ ./gradlew check
You can’t perform that action at this time.
0 commit comments