diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/check_rustfmt_clippy.yaml | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/.github/workflows/check_rustfmt_clippy.yaml b/.github/workflows/check_rustfmt_clippy.yaml index 3259491..eec744e 100644 --- a/.github/workflows/check_rustfmt_clippy.yaml +++ b/.github/workflows/check_rustfmt_clippy.yaml | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | on: push | 1 | on: push |
| 2 | 2 | ||
| 3 | name: check rustfmt clippy | 3 | name: check rustfmt |
| 4 | 4 | ||
| 5 | jobs: | 5 | jobs: |
| 6 | ci: | 6 | ci: |
| @@ -18,14 +18,9 @@ jobs: | |||
| 18 | profile: minimal | 18 | profile: minimal |
| 19 | toolchain: ${{ matrix.rust }} | 19 | toolchain: ${{ matrix.rust }} |
| 20 | override: true | 20 | override: true |
| 21 | components: rustfmt, clippy | 21 | components: rustfmt |
| 22 | 22 | ||
| 23 | - uses: actions-rs/cargo@v1 | 23 | - uses: actions-rs/cargo@v1 |
| 24 | with: | 24 | with: |
| 25 | command: fmt | 25 | command: fmt |
| 26 | args: --all -- --check | 26 | args: --all -- --check |
| 27 | |||
| 28 | - uses: actions-rs/cargo@v1 | ||
| 29 | with: | ||
| 30 | command: clippy | ||
| 31 | args: -- -D warnings | ||