From 82029f69a39a228fdf77404177594fdf55090313 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 4 Nov 2024 20:30:51 +0100 Subject: build(cog.toml): Format *before* checking the formatting Otherwise, the formatting step would always be useless, as everything should already be formatted. --- cog.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cog.toml') diff --git a/cog.toml b/cog.toml index d3b7b4b..7cc3ac4 100644 --- a/cog.toml +++ b/cog.toml @@ -14,9 +14,9 @@ ignore_merge_commits = false pre_bump_hooks = [ "reuse lint", # Check licensing status + "nix fmt", # format "nix flake check", # verify the project builds "cargo set-version {{version}}", # bump version in Cargo.toml - "nix fmt", # format ] post_bump_hooks = [ "git push", -- cgit 1.4.1