chore(server): Add 'go vet' to build process
This commit is contained in:
parent
36d50d1f19
commit
85b9c30749
1 changed files with 8 additions and 0 deletions
|
@ -21,6 +21,14 @@ buildGoPackage {
|
||||||
|
|
||||||
goPackagePath = "github.com/google/nixery";
|
goPackagePath = "github.com/google/nixery";
|
||||||
|
|
||||||
|
# Enable checks and configure check-phase to include vet:
|
||||||
|
doCheck = true;
|
||||||
|
preCheck = ''
|
||||||
|
for pkg in $(getGoDirs ""); do
|
||||||
|
buildGoDir vet "$pkg"
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Container image builder serving Nix-backed images";
|
description = "Container image builder serving Nix-backed images";
|
||||||
homepage = "https://github.com/google/nixery";
|
homepage = "https://github.com/google/nixery";
|
||||||
|
|
Loading…
Reference in a new issue