Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: fmt after clippy fix #389

Merged
merged 1 commit into from
Jun 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -485,13 +485,7 @@ jobs:
if: steps.check.outcome == 'failure'
run: cargo fmt --all

# - name: Suggestions
# continue-on-error: true
# uses: parkerbxyz/[email protected]
# with: comment: Rustfmt suggested the formatting changes.

- name: Suggestions
if: steps.check.outcome == 'failure'
uses: reviewdog/action-suggester@v1
with:
filter_mode: diff_context
Expand Down Expand Up @@ -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

Expand Down
Loading