Bump org.junit:junit-bom from 5.10.2 to 5.11.0 #86
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a Java project with Maven | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
name: Verify PR | |
on: | |
pull_request: | |
branches: [ master, Payara6 ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: zulu | |
java-version: 11 | |
cache: 'maven' | |
- name: Build | |
env: | |
MAVEN_OPTS: -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 -Dmaven.wagon.rto=30000 -Djava.net.preferIPv4Stack=true | |
run: mvn -B verify | |
- name: Publish Test Report | |
if: success() || failure() | |
uses: scacap/action-surefire-report@v1 | |
continue-on-error: true | |
with: | |
fail_if_no_tests: false | |
- name: Archive logs on failure | |
if: failure() | |
uses: actions/upload-artifact@v2 | |
with: | |
name: logs | |
path: "**/target/*.log*" | |