Bump junixsocket.version from 2.7.1 to 2.7.2 #786
Workflow file for this run
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: Java CI with Maven | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ master ] | |
paths-ignore: | |
- '**.md' | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: ['8', '11', '17'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Cache local Maven repository | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-${{ matrix.java }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-${{ matrix.java }}-maven- | |
- name: Set up build JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
check-latest: true | |
- name: Build with Maven | |
run: mvn -B -V -DskipTests=true package --file pom.xml | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: java-${{ matrix.java }}-jars | |
path: | | |
**/target/*.jar | |
**/target/bom.* | |
if: always() | |
- name: Set up test JDK ${{ matrix.java }} | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: ${{ matrix.java }} | |
check-latest: true | |
- name: Test with Maven | |
run: mvn -B -V -P coverage verify -Denforcer.skip=true -Dmaven.resources.skip=true -Dmaven.main.skip=true -Dassembly.skipAssembly=true -Dmaven.javadoc.skip=true -DskipITs=false --file pom.xml | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: java-${{ matrix.java }}-testresults | |
path: | | |
**/target/surefire-reports/ | |
**/target/failsafe-reports/ | |
**/target/site/jacoco/ | |
**/target/site/jacoco-it/ | |
if: always() |