github.com/grokify/go-ringcentral-client@v0.3.31/.github/workflows/ci.yaml (about)

     1  name: CI
     2  on:
     3    push:
     4      branches:
     5        - master
     6    pull_request:
     7      branches:
     8        - master
     9    workflow_dispatch:
    10  jobs:
    11    test:
    12      strategy:
    13        matrix:
    14          go-version: [1.25.x, 1.22.x]
    15          platform: [ubuntu-latest, macos-latest, windows-latest]
    16      runs-on: ${{ matrix.platform }}
    17      steps:
    18      - name: Install Go
    19        if: success()
    20        uses: actions/setup-go@v5
    21        with:
    22          go-version: ${{ matrix.go-version }}
    23      - name: Checkout code
    24        uses: actions/checkout@v5
    25      - name: Run tests
    26        run: go test -v -covermode=count ./...