github.com/ronaksoft/rony@v0.16.26-0.20230807065236-1743dbfe6959/.github/workflows/go.yml (about)

     1  name: Go
     2  
     3  on:
     4    push:
     5      branches: [ master ]
     6    pull_request:
     7      branches: [ master ]
     8  
     9  jobs:
    10  
    11    build:
    12      name: Build
    13      runs-on: ubuntu-latest
    14      steps:
    15  
    16      - name: Set up Go 1.x
    17        uses: actions/setup-go@v2
    18        with:
    19          go-version: ^1.15
    20  
    21      - name: Check out code into the Go module directory
    22        uses: actions/checkout@v2
    23  
    24      - name: Download Vendor Packages
    25        run: go mod vendor
    26  
    27      - name: Build
    28        run: go build -v ./...
    29  
    30  #    - name: Test
    31  #      run: go test ./...