-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #389 from boozook/ci/fmt-clippy
CI: fmt after clippy fix
- Loading branch information
Showing
1 changed file
with
4 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|
||
|