github.com/bytedance/go-tagexpr/v2@v2.9.8/.github/workflows/test.yml (about)

     1  name: go-test
     2  
     3  on:
     4    push:
     5      branches: [ master ]
     6    pull_request:
     7      branches: [ master ]
     8  
     9  jobs:
    10  
    11    run:
    12      runs-on: ubuntu-latest
    13      timeout-minutes: 30
    14      steps:
    15      - uses: actions/checkout@v2
    16  
    17      - name: Set up Go
    18        uses: actions/setup-go@v2
    19        with:
    20          go-version: 1.16
    21  
    22      - name: Build
    23        run: |
    24          go build -v ./...
    25  
    26      - name: Test
    27        run: |
    28          ./.github/test.sh
    29  
    30      - name: Upload Cov
    31        run: bash <(curl -s https://codecov.io/bash)