From 1cd7c20b2fe61112b0ee822148dd59efaa0da905 Mon Sep 17 00:00:00 2001 From: BusyBruce <4861164+BusyBruce@users.noreply.github.com> Date: Tue, 14 Dec 2021 22:52:45 +0800 Subject: [PATCH] fix: fix build file bug --- .drone.yml | 13 +++++++++---- go.mod | 3 +++ 2 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 go.mod diff --git a/.drone.yml b/.drone.yml index e4b0201..760a62a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,9 +1,14 @@ kind: pipeline -name: hello-drone-backup +type: exec +name: hello-drone + +platform: + os: linux + arch: amd64 steps: - name: build - image: golang commands: - - go build - - go test + - go build + - go test + diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..84cb7f6 --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module go.cloudfindtime.com/hello + +go 1.16