diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a17dd11b..75d1d6e9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -485,13 +485,7 @@ jobs: if: steps.check.outcome == 'failure' run: cargo fmt --all - # - name: Suggestions - # continue-on-error: true - # uses: parkerbxyz/suggest-changes@v1.0.2 - # with: comment: Rustfmt suggested the formatting changes. - - name: Suggestions - if: steps.check.outcome == 'failure' uses: reviewdog/action-suggester@v1 with: filter_mode: diff_context @@ -565,6 +559,10 @@ jobs: -- -Aclippy::cargo || (echo "::error::Rust format error." && exit 1) + # needed after clippy fix + - name: fmt + run: cargo fmt --all + - name: remove config run: rm -rf .cargo