Skip to content

Commit 796be02

Browse files
committed
style(taplo): enable reorder_keys for *dependencies in Cargo.toml
1 parent 1347809 commit 796be02

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1395,7 +1395,7 @@ jobs:
13951395
- name: Install taplo
13961396
uses: taiki-e/install-action@v2
13971397
with:
1398-
tool: taplo-cli@0.8
1398+
tool: taplo-cli
13991399
- name: Run TOML formatting checks
14001400
run: |
14011401
taplo fmt

.taplo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ keys = [
1111

1212
[rule.formatting]
1313
column_width = 160
14+
reorder_keys = true

ci/actions-templates/centos-fmt-clippy-template.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs: # skip-all
6868
- name: Install taplo
6969
uses: taiki-e/install-action@v2
7070
with:
71-
tool: taplo-cli@0.8
71+
tool: taplo-cli
7272
- name: Run TOML formatting checks
7373
run: |
7474
taplo fmt

0 commit comments

Comments
 (0)