Merge pull request #238 from recurly/v3-v2021-02-25-15003716700 #288
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: Go ${{ matrix.go }} tests | |
| strategy: | |
| matrix: | |
| go: ["1.17", "1.18", "1.19", "1.20", "1.21", "1.22", "1.23", "1.24"] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup go | |
| uses: actions/setup-go@v3 | |
| with: | |
| go-version: ${{ matrix.go }} | |
| - 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 |