Depend on a single hamcrest version #105
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 allows Github actions to build this project | |
name: Build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [11, 17] | |
name: build with jdk ${{matrix.java}} | |
steps: | |
- uses: actions/checkout@v2 | |
name: checkout | |
- uses: actions/setup-java@v3 | |
name: set up jdk ${{matrix.java}} | |
with: | |
java-version: ${{matrix.java}} | |
distribution: 'temurin' | |
cache: 'maven' | |
- name: build with maven | |
run: mvn -B --no-transfer-progress verify javadoc:javadoc --file pom.xml -Pvalidate-formatting |