Skip to content

Commit f72a80b

Browse files
committed
use vendor for tests and builds
1 parent b42f13b commit f72a80b

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.drone.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,11 @@ steps:
1313
- syslogd
1414
- ln -sf /var/run/log /var/run/syslog
1515

16-
- go mod download
17-
- go test .
18-
- GOARCH=386 go build -o cronguard-linux-386 .
19-
- go build -o cronguard-linux-amd64 .
20-
- GOARCH=arm go build -o cronguard-linux-arm .
21-
- GOARCH=arm64 go build -o cronguard-linux-arm64 .
16+
- go test -mod=vendor .
17+
- GOARCH=386 go build -mod=vendor -o cronguard-linux-386 .
18+
- GOARCH=amd64 go build -mod=vendor -o cronguard-linux-amd64 .
19+
- GOARCH=arm go build -mod=vendor -o cronguard-linux-arm .
20+
- GOARCH=arm64 go build -mod=vendor -o cronguard-linux-arm64 .
2221

2322
- name: release
2423
image: plugins/github-release

0 commit comments

Comments
 (0)