github.com/shippio/gqlgen@v0.0.0-20220912092219-633ea699ef07/.github/workflows/integration.yml (about)

     1  name: Integration
     2  on: [push, pull_request]
     3  
     4  jobs:
     5    integration:
     6      strategy:
     7        matrix:
     8          go: [1.16, 1.18]
     9          node: [14]
    10      runs-on: ubuntu-latest
    11      timeout-minutes: 3
    12      steps:
    13        - uses: actions/checkout@v3
    14        - uses: actions/setup-go@v3
    15          with:
    16            go-version: ${{ matrix.go }}
    17        - uses: actions/setup-node@v3
    18          with:
    19            node-version: ${{ matrix.node }}
    20        - run: go mod download
    21        - run: cd integration ; npm install
    22        - run: .github/workflows/check-integration
    23  
    24    federation:
    25      strategy:
    26        matrix:
    27          go: [1.16, 1.18]
    28          node: [14]
    29      runs-on: ubuntu-latest
    30      steps:
    31        - uses: actions/checkout@v3
    32        - uses: actions/setup-go@v3
    33          with:
    34            go-version: ${{ matrix.go }}
    35        - uses: actions/setup-node@v3
    36          with:
    37            node-version: ${{ matrix.node }}
    38        - run: go mod download
    39        - run: cd _examples/federation ; npm install
    40        - run: .github/workflows/check-federation
    41  
    42    init:
    43      strategy:
    44        matrix:
    45          go: [1.16, 1.18]
    46      runs-on: ubuntu-latest
    47      steps:
    48        - uses: actions/checkout@v3
    49        - uses: actions/setup-go@v3
    50          with:
    51            go-version: ${{ matrix.go }}
    52        - run: .github/workflows/check-init