diff options
Diffstat (limited to '.github/workflows/gradle-test.pr.yml')
-rw-r--r-- | .github/workflows/gradle-test.pr.yml | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/.github/workflows/gradle-test.pr.yml b/.github/workflows/gradle-test.pr.yml index 657e2494..f24bf477 100644 --- a/.github/workflows/gradle-test.pr.yml +++ b/.github/workflows/gradle-test.pr.yml @@ -1,4 +1,4 @@ -name: CI +name: Test on: pull_request @@ -9,12 +9,14 @@ jobs: version: [ 8, 11, 17 ] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 with: distribution: 'zulu' java-version: ${{ matrix.version }} - - run: ./gradlew clean test --stacktrace + - uses: gradle/gradle-build-action@v2 + with: + arguments: clean test --stacktrace test-windows: strategy: @@ -23,9 +25,11 @@ jobs: fail-fast: false runs-on: windows-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 with: distribution: 'zulu' java-version: ${{ matrix.version }} - - run: ./gradlew clean test --stacktrace --no-daemon --parallel --max-workers=1 + - uses: gradle/gradle-build-action@v2 + with: + arguments: clean test --stacktrace --no-daemon --parallel --max-workers=1 |