This is an automated email from the ASF dual-hosted git repository.
piotr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iggy.git
The following commit(s) were added to refs/heads/master by this push:
new 654d94cfe ci: add --no-format to cargo sort check (#2864)
654d94cfe is described below
commit 654d94cfe45a98132f337706c5ea368f6c1066fd
Author: Hubert Gruszecki <[email protected]>
AuthorDate: Wed Mar 4 19:06:01 2026 +0100
ci: add --no-format to cargo sort check (#2864)
Prevents conflict with taplo which enforces multi-line
arrays via array_auto_expand in .taplo.toml.
---
.github/actions/rust/pre-merge/action.yml | 2 +-
.pre-commit-config.yaml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/actions/rust/pre-merge/action.yml
b/.github/actions/rust/pre-merge/action.yml
index 453b28efd..e2c29f0fd 100644
--- a/.github/actions/rust/pre-merge/action.yml
+++ b/.github/actions/rust/pre-merge/action.yml
@@ -76,7 +76,7 @@ runs:
- name: Cargo sort
if: inputs.task == 'sort'
- run: cargo sort --check --workspace
+ run: cargo sort --check --no-format --workspace
shell: bash
- name: Cargo machete
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 41c5bc91c..4d0171369 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -131,7 +131,7 @@ repos:
- id: cargo-sort
name: cargo sort
- entry: cargo sort --workspace
+ entry: cargo sort --no-format --workspace
language: system
files: (^|/)Cargo\.toml$
pass_filenames: false