github.com/metacubex/tfo-go@v0.0.0-20240228025757-be1269474a66/.github/workflows/test.yml (about)

     1  name: Test
     2  
     3  on:
     4    push:
     5      branches:
     6        - '**'
     7      paths-ignore:
     8        - 'README.md'
     9        - 'LICENSE'
    10    pull_request:
    11      paths-ignore:
    12        - 'README.md'
    13        - 'LICENSE'
    14  
    15  jobs:
    16    test:
    17      name: Test
    18      strategy:
    19        matrix:
    20          os: [ubuntu-latest, windows-latest, macos-latest]
    21        fail-fast: false
    22      runs-on: ${{ matrix.os }}
    23  
    24      steps:
    25        - uses: actions/checkout@v4
    26  
    27        - name: Setup Go
    28          uses: actions/setup-go@v5
    29          with:
    30            go-version-file: go.mod
    31  
    32        - name: Test
    33          run: go test -v