File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
1
name : Build project
2
2
on :
3
3
push :
4
- branches : [ main ]
5
4
pull_request :
6
5
branches : [ main ]
7
6
@@ -12,24 +11,26 @@ jobs:
12
11
steps :
13
12
# Checkout repo using https://github.com/marketplace/actions/checkout
14
13
- name : Checkout
15
- uses : actions/checkout@v2
14
+ uses : actions/checkout@v3
16
15
17
16
- name : Set up JDK 1.8
18
- uses : actions/setup-java@v1
17
+ uses : actions/setup-java@v3
19
18
with :
20
- java-version : 1.8
19
+ distribution : ' temurin'
20
+ java-version : 8
21
21
22
22
# Aerospike cluster for integration tests (https://github.com/reugn/github-action-aerospike)
23
23
- name : Set up Aerospike Database
24
24
uses : reugn/github-action-aerospike@v1
25
25
26
26
# See: https://github.com/actions/cache/blob/master/examples.md#java---maven
27
- - name : Maven cache and restore deps
28
- uses : actions/cache@v1
27
+ - name : Cache local Maven repository
28
+ uses : actions/cache@v2
29
29
with :
30
30
path : ~/.m2/repository
31
31
key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
32
32
restore-keys : |
33
33
${{ runner.os }}-maven-
34
+
34
35
- name : Build with Maven
35
36
run : mvn clean test -B -U
You can’t perform that action at this time.
0 commit comments