Skip to content

Commit

Permalink
ci: Change taplo rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Aidan committed May 8, 2024
1 parent e7f4cdc commit 09f04ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Taplo formatting

on:
push:
paths: "**/Cargo.toml"
paths: "**/*.toml"
pull_request:
paths: "**/Cargo.toml"
paths: "**/*.toml"

jobs:
toml:
Expand Down
3 changes: 2 additions & 1 deletion .taplo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[[rule]]
include = ["**/Cargo.toml"]
include = ["**/*.toml"]

[rule.formatting]
reorder_arrays = true
reorder_keys = true
column_width = 150

0 comments on commit 09f04ed

Please sign in to comment.