about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-11-04 20:30:51 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-11-04 20:30:51 +0100
commit82029f69a39a228fdf77404177594fdf55090313 (patch)
treee53101cc7b8ca342444c8df9828d2f7e772c253a
parentfix(yt_dlp/progress_hook): Mark estimates as such (diff)
downloadyt-82029f69a39a228fdf77404177594fdf55090313.tar.gz
yt-82029f69a39a228fdf77404177594fdf55090313.zip
build(cog.toml): Format *before* checking the formatting
Otherwise, the formatting step would always be useless, as everything
should already be formatted.
Diffstat (limited to '')
-rw-r--r--cog.toml2
1 files changed, 1 insertions, 1 deletions
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",