ci: test executable's version subcmd
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-05-16 15:45:40 +02:00
parent a16bd3ef48
commit 7550acc8ab
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -217,6 +217,25 @@ def main(ctx):
"nix build .#go-xkcdreader"
]
},
{
"name": "go-xkcdreader version",
"image": "docker.io/nixos/nix:2.8.0-amd64",
"pull": "if-not-exists",
"depends_on": ["nix build"],
"volumes": [
{
"name": "nix",
"path": "/nix"
},
{
"name": "nixconf",
"path": "/etc/nix"
}
],
"commands": [
"./result/bin/go-xkcdreader version"
]
},
{
"name": "ldd",
"image": "docker.io/nixos/nix:2.8.0-amd64",