ci: merge go {vet|test} steps for fedora,arch
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-05-21 16:10:49 +02:00
parent 3839735dc8
commit d0350962e9
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -278,22 +278,7 @@ def main(ctx):
] ]
}, },
{ {
"name": "vet", "name": "vet|test",
"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",
"image": "docker.io/immawanderer/archlinux-go-fyne:linux-amd64", "image": "docker.io/immawanderer/archlinux-go-fyne:linux-amd64",
"pull": "always", "pull": "always",
"depends_on": ["pull archlinux"], "depends_on": ["pull archlinux"],
@ -304,6 +289,7 @@ def main(ctx):
} }
], ],
"commands": [ "commands": [
"go vet ./...",
"go test -cover ./..." "go test -cover ./..."
] ]
}, },
@ -370,22 +356,7 @@ def main(ctx):
] ]
}, },
{ {
"name": "vet", "name": "vet|test",
"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",
"image": "docker.io/immawanderer/fedora-go-fyne:linux-amd64", "image": "docker.io/immawanderer/fedora-go-fyne:linux-amd64",
"pull": "always", "pull": "always",
"depends_on": ["pull fedora"], "depends_on": ["pull fedora"],
@ -396,6 +367,7 @@ def main(ctx):
} }
], ],
"commands": [ "commands": [
"go vet ./...",
"go test -cover ./..." "go test -cover ./..."
] ]
}, },