2023-01-24 16:16:35 +01:00
|
|
|
pipeline:
|
|
|
|
check:
|
2023-04-12 00:00:27 +02:00
|
|
|
image: nixos/nix:2.15.0
|
2023-01-24 16:16:35 +01:00
|
|
|
environment:
|
2023-05-12 15:12:27 +02:00
|
|
|
- NIX_CONFIG=experimental-features = nix-command flakes \n store = unix:///mnt/nix/var/nix/daemon-socket/socket?root=/mnt
|
2023-01-24 16:16:35 +01:00
|
|
|
commands:
|
2023-05-12 15:11:48 +02:00
|
|
|
- nix run 'nixpkgs#statix' check
|
2023-05-04 15:14:36 +02:00
|
|
|
- nix run 'nixpkgs#deadnix' -- -f
|
2023-01-24 16:16:35 +01:00
|
|
|
- nix run 'nixpkgs#yamllint' .
|
2023-05-12 15:00:03 +02:00
|
|
|
volumes:
|
|
|
|
- /nix:/mnt/nix:ro
|