github.com/pyroscope-io/godeltaprof@v0.1.3-0.20230906152420-0d7eeca7b8c1/.github/workflows/go.yml (about)

     1  name: Go
     2  
     3  on:
     4    push:
     5      branches: [main]
     6    pull_request:
     7      branches: [main]
     8  
     9  jobs:
    10    go:
    11      runs-on: ubuntu-latest
    12      strategy:
    13        fail-fast: false
    14        matrix:
    15          go: ['1.16', '1.17', '1.18', '1.19', '1.20', '1.21']
    16      steps:
    17        - uses: actions/checkout@v3
    18        - uses: actions/setup-go@v4
    19          with:
    20            go-version: ${{ matrix.go }}
    21        - name: Build example application
    22          run: go build example/main.go
    23        - name: Test
    24          run: make test