Add a check for gomod
This commit is contained in:
parent
e9c615197a
commit
470f135275
1 changed files with 6 additions and 0 deletions
|
@ -9,6 +9,12 @@ check-fmt:
|
||||||
script:
|
script:
|
||||||
- nix-shell --run "make fmt && git diff --quiet"
|
- nix-shell --run "make fmt && git diff --quiet"
|
||||||
|
|
||||||
|
check-gomod:
|
||||||
|
stage: format
|
||||||
|
image: nixos/nix:latest
|
||||||
|
script:
|
||||||
|
- nix-shell --run "go mod tidy && git diff --quiet"
|
||||||
|
|
||||||
run-tests:
|
run-tests:
|
||||||
stage: test
|
stage: test
|
||||||
image: nixos/nix:latest
|
image: nixos/nix:latest
|
||||||
|
|
Loading…
Reference in a new issue