Standalone workflows, upgraded dependencies, updated link to Maven Ce… #19
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
# Generated by scripts/configure.py | |
name: build | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v2 | |
with: | |
distribution: temurin | |
java-version: 17 | |
cache: maven | |
- name: Maven | |
run: | | |
# GPG must be skipped, because CI server does not have release GPG key. | |
# Failure on javadoc warnings is enabled only in CI builds, | |
# so that warnings specific to one JDK version do not break independent builds. | |
# Printing maven version (-V) helps diagnose CI-specific build behavior. | |
# JaCoCo phase is needed to create code coverage report that will be later uploaded to Codecov. | |
mvn install jacoco:report -Dgpg.skip=true -Dmaven.javadoc.failOnWarnings=true -B -V | |
- uses: codecov/codecov-action@v2 |