Merge pull request #726 from maxmind/dependabot/maven/com.puppycrawl.… #1791
This file contains hidden or 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: Run tests | |
| on: [push, pull_request] | |
| permissions: {} | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| distribution: ['zulu'] | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| version: [ 17, 21, 24 ] | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| with: | |
| submodules: true | |
| persist-credentials: false | |
| - uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0 | |
| with: | |
| distribution: ${{ matrix.distribution }} | |
| java-version: ${{ matrix.version }} | |
| - run: mvn test -B | |
| # This is after the test run to work around | |
| # https://issues.apache.org/jira/projects/MJAVADOC/issues/MJAVADOC-736 | |
| - run: mvn javadoc:javadoc |