GitHub Actions CI #3334
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: GitHub Actions CI | |
| on: | |
| push: | |
| branches-ignore: | |
| - 'gh-pages' | |
| - '*tag*' | |
| - 'test/run-all-tests' | |
| schedule: | |
| - cron: '30 04 * * *' | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| java: [11, 17, 21] | |
| fail-fast: false | |
| name: Java ${{ matrix.java }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| # If we get the same IP on concurrent builds and this triggers an error | |
| # on the API (rate limiting), this can be easily debugged by checking the log | |
| - name: Get IP | |
| run: 'echo IP: $(dig +short myip.opendns.com @resolver1.opendns.com)' | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Java ${{ matrix.java }} | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: ${{ matrix.java }} | |
| distribution: temurin | |
| - name: Build with Maven | |
| run: mvn install -B -V -DtestsDayLimit=7 |