From 3fadc823208cfbb687be43c6c7d03740d145fb86 Mon Sep 17 00:00:00 2001 From: notohh Date: Sun, 18 Jun 2023 18:11:15 -0400 Subject: [PATCH] ci: condense pipelines --- .woodpecker/{fmt.yml => checks.yml} | 5 +++++ .woodpecker/flakecheck.yml | 6 ------ 2 files changed, 5 insertions(+), 6 deletions(-) rename .woodpecker/{fmt.yml => checks.yml} (53%) delete mode 100644 .woodpecker/flakecheck.yml diff --git a/.woodpecker/fmt.yml b/.woodpecker/checks.yml similarity index 53% rename from .woodpecker/fmt.yml rename to .woodpecker/checks.yml index 3ed48f2..04fffac 100644 --- a/.woodpecker/fmt.yml +++ b/.woodpecker/checks.yml @@ -1,4 +1,9 @@ pipeline: + check: + image: nixos/nix + commands: + - echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf + - nix flake check fmt: image: nixos/nix commands: diff --git a/.woodpecker/flakecheck.yml b/.woodpecker/flakecheck.yml deleted file mode 100644 index 99a7b72..0000000 --- a/.woodpecker/flakecheck.yml +++ /dev/null @@ -1,6 +0,0 @@ -pipeline: - flakecheck: - image: nixos/nix - commands: - - echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf - - nix flake check \ No newline at end of file