Make date-formatting tests less fragile with regular expressions. #1120
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
name: Build | |
on: [push, pull_request] | |
permissions: | |
contents: read # to fetch code (actions/checkout) | |
jobs: | |
build: | |
name: "Build on JDK ${{ matrix.java }}" | |
strategy: | |
matrix: | |
java: [ 11, 17 ] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: "Set up JDK ${{ matrix.java }}" | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.java }} | |
cache: 'maven' | |
- name: Build with Maven | |
# This also runs javadoc:jar to detect any issues with the Javadoc generated during release | |
run: mvn --batch-mode --update-snapshots --no-transfer-progress verify javadoc:jar |