github.com/micro/go-micro/v2@v2.9.1/.github/workflows/pr.yml (about)

     1  name: PR Sanity Check
     2  on: pull_request
     3  
     4  jobs:
     5  
     6    prtest:
     7      name: PR sanity check
     8      runs-on: ubuntu-latest
     9      steps:
    10  
    11      - name: Set up Go 1.13
    12        uses: actions/setup-go@v1
    13        with:
    14          go-version: 1.13
    15        id: go
    16  
    17      - name: Check out code into the Go module directory
    18        uses: actions/checkout@v2
    19  
    20      - name: Get dependencies
    21        run: |
    22          go get -v -t -d ./...
    23  
    24      - name: Run tests
    25        id: tests
    26        env:
    27          IN_TRAVIS_CI: yes
    28        run: go test -v ./...