--- stages: - format - test check-fmt: stage: format image: nixos/nix:latest script: - nix-shell - make fmt - git diff --quiet run-tests: stage: test image: nixos/nix:latest script: - nix-shell --run "make test"