github.com/PureWhiteWu/ppin@v0.0.0-20210222034823-197eac484787/.github/workflows/go-test.yml (about)

     1  name: Go Test
     2  
     3  on:
     4    push:
     5      branches: [ main ]
     6    pull_request:
     7  
     8  jobs:
     9  
    10    build:
    11      runs-on: ubuntu-latest
    12      steps:
    13      - uses: actions/checkout@v2
    14  
    15      - name: Set up Go
    16        uses: actions/setup-go@v2
    17        with:
    18          go-version: 1.16
    19  
    20      - name: Vet
    21        run: go vet ./...
    22  
    23      - name: Test
    24        run: go test -v ./...