Skip to content

Commit 117414d

Browse files
committed
upd ci
1 parent 4327dc3 commit 117414d

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,17 @@ jobs:
1515
# test against latest update of each major Java version, as well as specific updates of LTS versions:
1616
java: [ 17.0.4 ]
1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v4
1919
- name: Set up JDK ${{ matrix.java }}
20-
uses: actions/setup-java@v1
20+
- uses: actions/setup-java@v4
2121
with:
22+
distribution: liberica
23+
cache: 'maven'
24+
cache-dependency-path: 'pom.xml'
2225
java-version: ${{ matrix.java }}
23-
- name: Cache local Maven repository
24-
uses: actions/cache@v2
25-
with:
26-
path: ~/.m2/repository
27-
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
28-
restore-keys: |
29-
${{ runner.os }}-maven-
30-
- name: Build with Maven
26+
- name: Test with Maven
3127
run: |
3228
pwd
3329
ls -lah
34-
./mvnw clean package -DenableOomTests=true
30+
./mvnw clean test -DenableOomTests=true
3531
rm -rf ~/.m2/repository/name/nkonev/r2dbc-migrate

0 commit comments

Comments
 (0)