github.com/99designs/gqlgen@v0.17.45/.github/workflows/integration.yml (about) 1 name: Integration 2 on: 3 push: 4 branches: 5 - master 6 pull_request: 7 types: [ opened, synchronize ] 8 # When a new revision is pushed to a PR, cancel all in-progress CI runs for that 9 # PR. See https://docs.github.com/en/actions/using-jobs/using-concurrency 10 concurrency: 11 group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} 12 cancel-in-progress: true 13 jobs: 14 integration: 15 strategy: 16 matrix: 17 go: ["1.21", "1.22"] 18 node: [18] 19 runs-on: ubuntu-latest 20 timeout-minutes: 3 21 steps: 22 - uses: actions/checkout@v4 23 - uses: actions/setup-go@v5 24 with: 25 go-version: ${{ matrix.go }} 26 - uses: actions/setup-node@v4 27 with: 28 node-version: ${{ matrix.node }} 29 - run: go mod download 30 - run: cd integration ; npm ci 31 - run: .github/workflows/check-integration 32 33 federation: 34 strategy: 35 matrix: 36 go: ["1.21", "1.22"] 37 node: [18] 38 runs-on: ubuntu-latest 39 steps: 40 - uses: actions/checkout@v4 41 - uses: actions/setup-go@v5 42 with: 43 go-version: ${{ matrix.go }} 44 - uses: actions/setup-node@v4 45 with: 46 node-version: ${{ matrix.node }} 47 - run: go mod download 48 - run: cd _examples/federation ; npm install 49 - run: .github/workflows/check-federation 50 51 init: 52 strategy: 53 matrix: 54 go: ["1.21", "1.22"] 55 runs-on: ubuntu-latest 56 steps: 57 - uses: actions/checkout@v4 58 - uses: actions/setup-go@v5 59 with: 60 go-version: ${{ matrix.go }} 61 - run: .github/workflows/check-init