...

Text file src/github.com/moby/locker/.github/workflows/test.yml

Documentation: github.com/moby/locker/.github/workflows

     1name: Run go test
     2
     3on:
     4  push:
     5    branches: [ $default-branch ]
     6  pull_request:
     7    branch: [ $default-branch ]
     8
     9jobs:
    10  test:
    11    name: Test
    12    strategy:
    13      matrix:
    14        go-version: [1.14.x, 1.15.x]
    15        os: [ubuntu-latest]
    16    runs-on: ${{ matrix.os }}
    17    steps:
    18      - name: Install Go
    19        uses: actions/setup-go@v2
    20        with:
    21          go-version: ${{ matrix.go-version }}
    22      - name: Checkout code
    23        uses: actions/checkout@v2
    24      - name: Test
    25        run: go test -v ./...

View as plain text