From bf7205dd2ab9a57f0597ff51f93c7e8e4d82c0dd Mon Sep 17 00:00:00 2001 From: zggsong Date: Tue, 15 Nov 2022 10:42:05 +0800 Subject: [PATCH] update drone yaml --- .drone.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index 68825da..2cc62a2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,9 +1,13 @@ -kind: pipeline -name: default +workspace: + base: /vol + path: src/first -steps: -- name: test - image: golang - commands: - - go test - - go build \ No newline at end of file +pipeline: + test: + image: golang + commands: + - go test + build: + image: golang + commands: + - go build -o app