20 lines
538 B
YAML
20 lines
538 B
YAML
pipeline:
|
|
|
|
check:
|
|
image: nixpkgs/nix-flakes:latest
|
|
pull: true
|
|
commands:
|
|
- nix --no-sandbox flake metadata
|
|
- nix --no-sandbox develop --eval-store ./nix-store -c statix check ./nixos
|
|
- nix --no-sandbox flake check --eval-store ./nix-store
|
|
|
|
notify:
|
|
image: drillster/drone-email
|
|
settings:
|
|
host: smtp.eu.mailgun.org
|
|
username: postmaster@$peninsula.industries
|
|
password:
|
|
from_secret: mailgun_token
|
|
from: ci@peninsula.industries
|
|
when:
|
|
- status: [ failure ]
|