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:
|
||||
- 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:
|
||||
stage: test
|
||||
image: nixos/nix:latest
|
||||
|
|
Loading…
Reference in a new issue