Skip to content

Merge pull request #63 from GrimirCZ/feature/upn-dns-info-support #93

Merge pull request #63 from GrimirCZ/feature/upn-dns-info-support

Merge pull request #63 from GrimirCZ/feature/upn-dns-info-support #93

Workflow file for this run

name: Java CI
on:
workflow_dispatch:
push:
branches:
- master
- develop
pull_request:
branches-ignore:
- tag/*
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Build with Maven
run: mvn -B clean package --file pom.xml -U
# run: mvn -B clean package jacoco:report --file pom.xml -U
# - uses: codecov/codecov-action@v1
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# test against latest update of each major Java version, as well as specific updates of LTS versions:
java: [ 17, 18, 19, 20, 21 ]
os: [ ubuntu-22.04, windows-2022, macos-12 ]
name: Test JDK ${{ matrix.java }}, ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Build with Maven
run: mvn -B clean package --file pom.xml -U