Skip to content

Commit

Permalink
Add link to taplo doc
Browse files Browse the repository at this point in the history
Add CI step
  • Loading branch information
PoignardAzur committed Dec 11, 2024
1 parent bbf5130 commit bf0f320
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,14 @@ jobs:
- name: Run cargo fmt
run: cargo fmt --all --check

- name: Install Taplo
uses: uncenter/setup-taplo@v1
with:
version: "0.9.3"

- name: run `taplo fmt`
run: taplo fmt --check --diff

- name: Install ripgrep
run: |
sudo apt update
Expand Down
3 changes: 3 additions & 0 deletions .taplo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# See https://taplo.tamasfe.dev/configuration/file.html
# and https://taplo.tamasfe.dev/configuration/formatter-options.html

[formatting]
# This is a matter of taste, but expanded inline arrays make tables harder to read.
array_auto_collapse = true
Expand Down

0 comments on commit bf0f320

Please sign in to comment.