...

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

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

     1name: Build
     2
     3on:
     4  pull_request:
     5    branches: ['main']
     6
     7jobs:
     8
     9  build:
    10    name: Build
    11    runs-on: ubuntu-latest
    12
    13    strategy:
    14      matrix:
    15        go-version: [1.19, '1.20']
    16
    17    steps:
    18      - uses: actions/checkout@v3
    19      - uses: actions/setup-go@v4
    20        with:
    21          go-version: ${{ matrix.go-version }}
    22          check-latest: true
    23
    24      - run: |
    25          go build ./...
    26          go test -run=^$ ./...

View as plain text