From 117414d68b9fb322385e7c7a09e8ef62e7b60047 Mon Sep 17 00:00:00 2001 From: Nikita Konev Date: Sat, 23 Nov 2024 18:47:19 +0300 Subject: [PATCH] upd ci --- .github/workflows/ci.yml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 77578e5..9cb0bde 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,21 +15,17 @@ jobs: # test against latest update of each major Java version, as well as specific updates of LTS versions: java: [ 17.0.4 ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK ${{ matrix.java }} - uses: actions/setup-java@v1 + - uses: actions/setup-java@v4 with: + distribution: liberica + cache: 'maven' + cache-dependency-path: 'pom.xml' java-version: ${{ matrix.java }} - - name: Cache local Maven repository - uses: actions/cache@v2 - with: - path: ~/.m2/repository - key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} - restore-keys: | - ${{ runner.os }}-maven- - - name: Build with Maven + - name: Test with Maven run: | pwd ls -lah - ./mvnw clean package -DenableOomTests=true + ./mvnw clean test -DenableOomTests=true rm -rf ~/.m2/repository/name/nkonev/r2dbc-migrate