github.com/pdfcpu/pdfcpu@v0.11.1/.github/workflows/test.yml (about)

     1  on: [push, pull_request]
     2  name: Test
     3  jobs:
     4    test:
     5      strategy:
     6        fail-fast: false
     7        matrix:
     8          target:
     9            - goos: js
    10              goarch: wasm
    11            - goos: darwin
    12              goarch: amd64
    13            - goos: darwin
    14              goarch: arm64
    15            - goos: linux
    16              goarch: amd64
    17            - goos: linux
    18              goarch: arm
    19              goarm: 7
    20            - goos: linux
    21              goarch: arm64
    22            - goos: windows
    23              goarch: amd64
    24          go:
    25             - '1.24.x'
    26             - '1.25.x'
    27      runs-on: ubuntu-latest
    28  
    29      steps:
    30        - name: Checkout repo      
    31          uses: actions/checkout@v5
    32  
    33        - name: Set up Go ${{ matrix.go }}
    34          uses: actions/setup-go@v6
    35          with:
    36            go-version: ${{ matrix.go }}
    37  
    38        - run: go version
    39  
    40        - name: Go vet
    41          run: go vet -v ./...
    42  
    43        - name: Check coverage
    44          uses: shogo82148/actions-goveralls@v1
    45          with:
    46            flag-name: Go-${{ matrix.go }}
    47            parallel: true
    48          
    49    finish:
    50      needs: test
    51      runs-on: ubuntu-latest
    52      steps:
    53        - uses: shogo82148/actions-goveralls@v1
    54          with:
    55            parallel-finished: true