...

Text file src/gopkg.in/evanphx/json-patch.v4/.github/workflows/go.yml

Documentation: gopkg.in/evanphx/json-patch.v4/.github/workflows

     1name: Go
     2
     3on:
     4  push:
     5    branches: [ master ]
     6  pull_request:
     7    branches: [ master ]
     8
     9jobs:
    10
    11  build:
    12    runs-on: ubuntu-latest
    13    steps:
    14    - uses: actions/checkout@v2
    15      with:
    16        fetch-depth: 1
    17        path: go/src/github.com/evanphx/json-patch
    18
    19    - name: Set up Go
    20      uses: actions/setup-go@v2
    21      with:
    22        go-version: 1.15
    23
    24    - name: Test
    25      run: |
    26        cd /home/runner/work/json-patch/json-patch/go/src/github.com/evanphx/json-patch
    27        go get ./...
    28        go test -v ./...
    29      env:
    30        GOPATH: /home/runner/work/json-patch/json-patch/go

View as plain text