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

     1  kind: pipeline
     2  spec:
     3    stages:
     4    - name: build
     5      spec:
     6        clone: {}
     7        platform:
     8          arch: amd64
     9          os: linux
    10        runtime:
    11          spec: {}
    12          type: cloud
    13        steps:
    14        - name: Set up Go
    15          spec:
    16            uses: actions/setup-go@v4
    17            with:
    18              go-version: "1.15"
    19          type: action
    20        - name: Build
    21          spec:
    22            run: go build -v ./...
    23          type: script
    24        - name: Test
    25          spec:
    26            run: go test -v ./...
    27          type: script
    28      type: ci
    29  version: 1