github.com/webdestroya/awsmocker@v0.2.6/.github/workflows/test.yml (about)

     1  name: Test
     2  
     3  on:
     4    push:
     5      branches:
     6        - main
     7        - master
     8    pull_request:
     9      branches:
    10        - main
    11        - master
    12  
    13  
    14  permissions:
    15    contents: read
    16  
    17  jobs:
    18    test:
    19      runs-on: ubuntu-latest
    20      strategy:
    21        matrix:
    22          go: [1.18, 1.19, 1.19.2]
    23      name: Go ${{ matrix.go }} tests
    24      steps:
    25        - uses: actions/checkout@v3
    26  
    27        - name: Setup go
    28          uses: actions/setup-go@v3
    29          with:
    30            go-version: ${{ matrix.go }}
    31  
    32        - run: go test -timeout 180s ./...