github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/convert/github/testdata/build-and-test/go.yaml (about)

     1  # https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
     2  
     3  name: Go package
     4  
     5  # on: [push]
     6  
     7  jobs:
     8    build:
     9  
    10      runs-on: ubuntu-latest
    11      steps:
    12        - uses: actions/checkout@v3
    13  
    14        - name: Set up Go
    15          uses: actions/setup-go@v4
    16          with:
    17            go-version: 1.15
    18  
    19        - name: Build
    20          run: go build -v ./...
    21  
    22        - name: Test
    23          run: go test -v ./...