diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cc8bbbb..fd62e7c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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