...

Text file src/github.com/mattn/go-isatty/.github/workflows/test.yml

Documentation: github.com/mattn/go-isatty/.github/workflows

     1name: test
     2on:
     3  push:
     4  pull_request:
     5
     6jobs:
     7  test:
     8    runs-on: ${{ matrix.os }}
     9    strategy:
    10      fail-fast: false
    11      matrix:
    12        os:
    13          - ubuntu-latest
    14          - macos-latest
    15          - windows-latest
    16        go:
    17          - '1.20'
    18          - '1.19'
    19          - '1.18'
    20          - '1.17'
    21    steps:
    22      - uses: actions/setup-go@v2
    23        with:
    24          go-version: ${{ matrix.go }}
    25      - uses: actions/checkout@v2
    26      - name: test
    27        shell: bash
    28        run: |
    29          ./go.test.sh
    30      - name: upload coverage report
    31        uses: codecov/codecov-action@v2
    32        with:
    33          env_vars: OS,GO
    34        env:
    35          OS: ${{ matrix.os }}
    36          GO: ${{ matrix.go }}

View as plain text