From c2473849d9ccddfda7697aad58f7d1b598d38ec9 Mon Sep 17 00:00:00 2001 From: notohh Date: Sat, 17 Jun 2023 13:39:14 -0400 Subject: [PATCH] ci/cd: init fmt / check --- .woodpecker/flakecheck.yml | 6 ++++++ .woodpecker/fmt.yml | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 .woodpecker/flakecheck.yml create mode 100644 .woodpecker/fmt.yml diff --git a/.woodpecker/flakecheck.yml b/.woodpecker/flakecheck.yml new file mode 100644 index 0000000..7542501 --- /dev/null +++ b/.woodpecker/flakecheck.yml @@ -0,0 +1,6 @@ +pipeline: + run-greet: + image: nixos/nix + commands: + - echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf + - nix flake check \ No newline at end of file diff --git a/.woodpecker/fmt.yml b/.woodpecker/fmt.yml new file mode 100644 index 0000000..9810a9d --- /dev/null +++ b/.woodpecker/fmt.yml @@ -0,0 +1,6 @@ +pipeline: + run-greet: + image: nixos/nix + commands: + - echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf + - nix run nixpkgs#alejandra -- -c .