...

Text file src/github.com/go-asn1-ber/asn1-ber/.github/workflows/pr.yml

Documentation: github.com/go-asn1-ber/asn1-ber/.github/workflows

     1name: PR
     2
     3on:
     4  pull_request:
     5    branches: [ master ]
     6
     7jobs:
     8
     9  build:
    10    runs-on: ubuntu-latest
    11    strategy:
    12      matrix:
    13        go: [
    14          '1.20',
    15          '1.19',
    16          '1.18',
    17          '1.17',
    18          '1.16',
    19          '1.15',
    20          '1.14',
    21          '1.13',
    22        ]
    23    name: Go ${{ matrix.go }}.x PR Validate
    24    steps:
    25    - uses: actions/checkout@v3
    26
    27    - name: Set up Go
    28      uses: actions/setup-go@v4
    29      with:
    30        go-version: ${{ matrix.go }}
    31
    32    - name: Version
    33      run: go version
    34
    35    - name: Build
    36      run: go build -v ./...
    37
    38    - name: Test
    39      run: go test -v -cover -race -cpu 1,2,4 ./...

View as plain text