github.com/segmentio/encoding@v0.4.0/.github/workflows/test.yml (about)

     1  ---
     2  name: Test
     3  
     4  "on":
     5    - pull_request
     6  
     7  jobs:
     8    test:
     9      strategy:
    10        matrix:
    11          go:
    12            - "1.20"
    13            - "1.21"
    14  
    15      runs-on: ubuntu-latest
    16  
    17      steps:
    18        - uses: actions/checkout@v2
    19  
    20        - name: Setup Go ${{ matrix.go }}
    21          uses: actions/setup-go@v2
    22          with:
    23            go-version: ${{ matrix.go }}
    24  
    25        - name: Download Dependencies
    26          run: go mod download
    27  
    28        - name: Run Tests
    29          run: make test