github.com/DQNEO/babygo@v0.0.3/.github/workflows/go.yaml (about)

     1  name: Test
     2  
     3  on: [push, pull_request]
     4  
     5  jobs:
     6  
     7    build:
     8      name: Build
     9      runs-on: ubuntu-latest
    10      steps:
    11        - name: Set up Go
    12          uses: actions/setup-go@v1
    13          with:
    14            go-version: 1.17
    15          id: go
    16  
    17        - name: Check out code into the Go module directory
    18          uses: actions/checkout@v2
    19          with:
    20            path: ./src/github.com/${{ github.repository }}
    21  
    22        - name: Test
    23          run: GOPATH=/home/runner/work/babygo/babygo  make -C ./src/github.com/DQNEO/babygo test