diff --git a/.drone.starlark b/.drone.starlark index 5d8721c..a26d6c2 100644 --- a/.drone.starlark +++ b/.drone.starlark @@ -278,22 +278,7 @@ def main(ctx): ] }, { - "name": "vet", - "image": "docker.io/immawanderer/archlinux-go-fyne:linux-amd64", - "pull": "always", - "depends_on": ["pull archlinux"], - "volumes": [ - { - "name": "gopath", - "path": "/root/go" - } - ], - "commands": [ - "go vet ./..." - ] - }, - { - "name": "test", + "name": "vet|test", "image": "docker.io/immawanderer/archlinux-go-fyne:linux-amd64", "pull": "always", "depends_on": ["pull archlinux"], @@ -304,6 +289,7 @@ def main(ctx): } ], "commands": [ + "go vet ./...", "go test -cover ./..." ] }, @@ -370,22 +356,7 @@ def main(ctx): ] }, { - "name": "vet", - "image": "docker.io/immawanderer/fedora-go-fyne:linux-amd64", - "pull": "always", - "depends_on": ["pull fedora"], - "volumes": [ - { - "name": "gopath", - "path": "/root/go" - } - ], - "commands": [ - "go vet ./..." - ] - }, - { - "name": "test", + "name": "vet|test", "image": "docker.io/immawanderer/fedora-go-fyne:linux-amd64", "pull": "always", "depends_on": ["pull fedora"], @@ -396,6 +367,7 @@ def main(ctx): } ], "commands": [ + "go vet ./...", "go test -cover ./..." ] },