diff --git a/.github/workflows/nix-flake-check.yaml b/.github/workflows/nix-flake-check.yaml index 0085ae2..ab6a41e 100644 --- a/.github/workflows/nix-flake-check.yaml +++ b/.github/workflows/nix-flake-check.yaml @@ -3,8 +3,7 @@ on: workflow_dispatch: pull_request: push: - branches: [master, main] - + branches: [master, main] jobs: nix-flake-check: runs-on: ubuntu-latest diff --git a/leptos/treefmt.nix b/leptos/treefmt.nix index a7b9ed0..21e6e3f 100644 --- a/leptos/treefmt.nix +++ b/leptos/treefmt.nix @@ -6,6 +6,7 @@ _: { nixfmt.enable = true; rustfmt.enable = true; taplo.enable = true; + yamlfmt.enable = true; }; settings.formatter = { diff --git a/nix/.github/workflows/nix-flake-check.yaml b/nix/.github/workflows/nix-flake-check.yaml index 0085ae2..ab6a41e 100644 --- a/nix/.github/workflows/nix-flake-check.yaml +++ b/nix/.github/workflows/nix-flake-check.yaml @@ -3,8 +3,7 @@ on: workflow_dispatch: pull_request: push: - branches: [master, main] - + branches: [master, main] jobs: nix-flake-check: runs-on: ubuntu-latest diff --git a/nix/treefmt.nix b/nix/treefmt.nix index 4ad95fc..3a28f20 100644 --- a/nix/treefmt.nix +++ b/nix/treefmt.nix @@ -3,5 +3,6 @@ _: { programs = { nixfmt.enable = true; + yamlfmt.enable = true; }; } diff --git a/rust/.github/workflows/nix-flake-check.yaml b/rust/.github/workflows/nix-flake-check.yaml index 0085ae2..ab6a41e 100644 --- a/rust/.github/workflows/nix-flake-check.yaml +++ b/rust/.github/workflows/nix-flake-check.yaml @@ -3,8 +3,7 @@ on: workflow_dispatch: pull_request: push: - branches: [master, main] - + branches: [master, main] jobs: nix-flake-check: runs-on: ubuntu-latest diff --git a/rust/treefmt.nix b/rust/treefmt.nix index 010e08c..e3edc7a 100644 --- a/rust/treefmt.nix +++ b/rust/treefmt.nix @@ -5,5 +5,6 @@ _: { nixfmt.enable = true; rustfmt.enable = true; taplo.enable = true; + yamlfmt.enable = true; }; } diff --git a/treefmt.nix b/treefmt.nix index 4ad95fc..3a28f20 100644 --- a/treefmt.nix +++ b/treefmt.nix @@ -3,5 +3,6 @@ _: { programs = { nixfmt.enable = true; + yamlfmt.enable = true; }; }