Merge pull request #337 from recurly/v3-v2021-02-25-30289766625 #446
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: CI | |
| on: [push] | |
| concurrency: | |
| group: ${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| name: Java ${{ matrix.java }} tests | |
| strategy: | |
| matrix: | |
| java: [8, 11, 16, 17, 18, 19, 20, 21] | |
| steps: | |
| - uses: actions/checkout@v6.0.3 | |
| - name: Setup java | |
| uses: actions/setup-java@v5.2.0 | |
| with: | |
| distribution: temurin | |
| java-version: ${{ matrix.java }} | |
| - run: ./scripts/build | |
| - run: ./scripts/test | |
| buildall: | |
| if: ${{ always() }} | |
| runs-on: ubuntu-latest | |
| name: Build (matrix) | |
| needs: build | |
| steps: | |
| - name: Check build matrix status | |
| if: ${{ needs.build.result != 'success' }} | |
| run: exit 1 |