Add a check for gomod

This commit is contained in:
Miguel de la Cruz 2023-06-30 09:54:52 +02:00
parent e9c615197a
commit 470f135275

View file

@ -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