From 22186dd8fe651487553bb3d54e28a27a27c97254 Mon Sep 17 00:00:00 2001 From: Arne Beer Date: Sat, 23 Nov 2024 09:43:06 +0100 Subject: [PATCH] fix(lint): Disable cargo-sort for now, as it breaks CI --- .github/workflows/lint.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 71440cb4..d9e6048e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -72,20 +72,20 @@ jobs: lint-${{ runner.os }}-cargo-${{ matrix.target }}- ${{ runner.os }}-cargo-${{ matrix.target }}- - - name: Install cargo-sort - run: cargo install cargo-sort || exit 0 - if: matrix.target != 'x86_64-pc-windows-msvc' - # ----- Actual linting logic ------ # These lines should mirror the `just lint` command. - name: cargo fmt run: cargo fmt --all -- --check - - name: cargo sort - run: cargo sort --workspace --check - # Don't run cargo-sort on windows, as the formatting behavior seems to be slightly different: - # https://github.com/DevinR528/cargo-sort/issues/56 - if: matrix.target != 'x86_64-pc-windows-msvc' - - name: cargo clippy run: cargo clippy --tests --workspace -- -D warnings + + #- name: cargo sort + # run: cargo sort --workspace --check + # # Don't run cargo-sort on windows, as the formatting behavior seems to be slightly different: + # # https://github.com/DevinR528/cargo-sort/issues/56 + # if: matrix.target != 'x86_64-pc-windows-msvc' + + #- name: Install cargo-sort + # run: cargo install cargo-sort || exit 0 + # if: matrix.target != 'x86_64-pc-windows-msvc'