birthdaybot/.gitlab-ci.yml
2023-06-30 09:54:52 +02:00

22 lines
367 B
YAML

---
stages:
- format
- test
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"