mirror of
https://github.com/drone/drone-cli.git
synced 2026-01-22 19:11:34 +01:00
33 lines
435 B
YAML
33 lines
435 B
YAML
|
|
---
|
||
|
|
kind: pipeline
|
||
|
|
name: first
|
||
|
|
platform:
|
||
|
|
arch: amd64
|
||
|
|
os: linux
|
||
|
|
steps:
|
||
|
|
- commands:
|
||
|
|
- go test ./...
|
||
|
|
image: golang:1.16
|
||
|
|
name: test
|
||
|
|
- commands:
|
||
|
|
- go build ./...
|
||
|
|
image: golang:1.16
|
||
|
|
name: build
|
||
|
|
type: docker
|
||
|
|
---
|
||
|
|
kind: pipeline
|
||
|
|
name: second
|
||
|
|
platform:
|
||
|
|
arch: amd64
|
||
|
|
os: linux
|
||
|
|
steps:
|
||
|
|
- commands:
|
||
|
|
- go test ./...
|
||
|
|
image: golang:1.16
|
||
|
|
name: test
|
||
|
|
- commands:
|
||
|
|
- go build ./...
|
||
|
|
image: golang:1.16
|
||
|
|
name: build
|
||
|
|
type: docker
|