diff options
Diffstat (limited to '.github/workflows/check_test_rustfmt_clippy.yaml')
| -rw-r--r-- | .github/workflows/check_test_rustfmt_clippy.yaml | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/.github/workflows/check_test_rustfmt_clippy.yaml b/.github/workflows/check_test_rustfmt_clippy.yaml deleted file mode 100644 index 9cb63c1..0000000 --- a/.github/workflows/check_test_rustfmt_clippy.yaml +++ /dev/null | |||
| @@ -1,40 +0,0 @@ | |||
| 1 | on: push | ||
| 2 | |||
| 3 | name: check test rustfmt clippy | ||
| 4 | |||
| 5 | jobs: | ||
| 6 | ci: | ||
| 7 | runs-on: ubuntu-latest | ||
| 8 | strategy: | ||
| 9 | matrix: | ||
| 10 | rust: | ||
| 11 | - stable | ||
| 12 | - nightly | ||
| 13 | |||
| 14 | steps: | ||
| 15 | - uses: actions/checkout@v2 | ||
| 16 | |||
| 17 | - uses: actions-rs/toolchain@v1 | ||
| 18 | with: | ||
| 19 | profile: minimal | ||
| 20 | toolchain: ${{ matrix.rust }} | ||
| 21 | override: true | ||
| 22 | components: rustfmt, clippy | ||
| 23 | |||
| 24 | - uses: actions-rs/cargo@v1 | ||
| 25 | with: | ||
| 26 | command: build | ||
| 27 | |||
| 28 | - uses: actions-rs/cargo@v1 | ||
| 29 | with: | ||
| 30 | command: test | ||
| 31 | |||
| 32 | - uses: actions-rs/cargo@v1 | ||
| 33 | with: | ||
| 34 | command: fmt | ||
| 35 | args: --all -- --check | ||
| 36 | |||
| 37 | - uses: actions-rs/cargo@v1 | ||
| 38 | with: | ||
| 39 | command: clippy | ||
| 40 | args: -- -D warnings | ||