...

Text file src/github.com/google/go-containerregistry/.github/workflows/test.yaml

Documentation: github.com/google/go-containerregistry/.github/workflows

     1name: Test
     2
     3on:
     4  push:
     5    branches: ['main']
     6  pull_request:
     7    branches: ['main']
     8
     9jobs:
    10
    11  test:
    12    strategy:
    13      matrix:
    14        go-version: [1.19, '1.20']
    15
    16    name: Unit Tests
    17    runs-on: ubuntu-latest
    18
    19    steps:
    20      - uses: actions/checkout@v3
    21      - uses: actions/setup-go@v4
    22        with:
    23          go-version: ${{ matrix.go-version }}
    24          check-latest: true
    25
    26      - run: go test -coverprofile=coverage.txt -covermode=atomic -race ./...
    27
    28      - uses: codecov/codecov-action@v3.1.4

View as plain text