From 7e0f68985304507f6257b25b7a85a2a82f560c54 Mon Sep 17 00:00:00 2001 From: notohh Date: Tue, 23 Jan 2024 20:00:57 -0500 Subject: [PATCH] ci: readd checks --- .woodpecker/checks.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .woodpecker/checks.yml diff --git a/.woodpecker/checks.yml b/.woodpecker/checks.yml new file mode 100644 index 0000000..3540e45 --- /dev/null +++ b/.woodpecker/checks.yml @@ -0,0 +1,15 @@ +when: + - path: + include: ['*.nix'] + exclude: ['*.md', 'docs/**', '.woodpecker/*.yaml', '*.js', '*.lua', '*.scss', '*.nu'] +steps: + check: + image: nixos/nix + commands: + - echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf + - nix flake check + fmt: + image: nixos/nix + commands: + - echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf + - nix run nixpkgs#alejandra -- -c .