--- stages: - format - test check-generate: stage: format image: nixos/nix:latest script: - nix-shell --run "make generate && git diff --quiet" check-fmt: stage: format image: nixos/nix:latest 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 script: - nix-shell --run "make test"