Skip to content

Commit

Permalink
feat: yamlfmt for all projects
Browse files Browse the repository at this point in the history
  • Loading branch information
huuff committed Oct 29, 2024
1 parent b48b97e commit 968c7a3
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/nix-flake-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ on:
workflow_dispatch:
pull_request:
push:
branches: [master, main]

branches: [master, main]
jobs:
nix-flake-check:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions leptos/treefmt.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ _: {
nixfmt.enable = true;
rustfmt.enable = true;
taplo.enable = true;
yamlfmt.enable = true;
};

settings.formatter = {
Expand Down
3 changes: 1 addition & 2 deletions nix/.github/workflows/nix-flake-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ on:
workflow_dispatch:
pull_request:
push:
branches: [master, main]

branches: [master, main]
jobs:
nix-flake-check:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions nix/treefmt.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ _: {

programs = {
nixfmt.enable = true;
yamlfmt.enable = true;
};
}
3 changes: 1 addition & 2 deletions rust/.github/workflows/nix-flake-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ on:
workflow_dispatch:
pull_request:
push:
branches: [master, main]

branches: [master, main]
jobs:
nix-flake-check:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions rust/treefmt.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ _: {
nixfmt.enable = true;
rustfmt.enable = true;
taplo.enable = true;
yamlfmt.enable = true;
};
}
1 change: 1 addition & 0 deletions treefmt.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ _: {

programs = {
nixfmt.enable = true;
yamlfmt.enable = true;
};
}

0 comments on commit 968c7a3

Please sign in to comment.