mirror of
https://github.com/thegeeklab/wp-opentofu.git
synced 2024-11-28 08:40:35 +00:00
6f5847f90d
Favor grabbing release directly and pinning version
13 lines
296 B
YAML
13 lines
296 B
YAML
workspace:
|
|
base: /go
|
|
path: src/github.com/drone-plugins/drone-terraform
|
|
|
|
pipeline:
|
|
test:
|
|
image: golang:1.8
|
|
environment:
|
|
- CGO_ENABLED=0
|
|
commands:
|
|
- go test -cover -coverprofile=coverage.out
|
|
- go build -ldflags "-s -w -X main.revision=$(git rev-parse HEAD)" -a
|