ci: merge go {vet|test} steps for fedora,arch
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3839735dc8
commit
d0350962e9
@ -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 ./..."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user