We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6765b42 commit c90687dCopy full SHA for c90687d
.github/workflows/cross-platform-testing.yml
@@ -60,15 +60,18 @@ jobs:
60
profile: minimal
61
override: true
62
target: ${{ matrix.target }}
63
+ components: rustfmt, clippy
64
65
- name: Show command used for Cargo
- if: success()
66
run: |
67
echo "cargo command is: ${{ env.CARGO }}"
68
echo "target flag is: ${{ env.TARGET_FLAGS }}"
69
echo "target dir is: ${{ env.TARGET_DIR }}"
70
71
- name: Run tests
72
73
run: ${{ env.CARGO }} test ${{ env.TARGET_FLAGS }}
+ - name: Run fmt
74
+ run: ${{ env.CARGO }} fmt ${{ env.TARGET_FLAGS }} --all -- --check
75
+ - name: Run clippy
76
+ run: ${{ env.CARGO }} clippy ${{ env.TARGET_FLAGS }}
77
0 commit comments