9 # Only run on paths, that get checked by the clippy_dev tool
21 runs-on: ubuntu-latest
26 uses: actions/checkout@v2.3.3
28 - name: remove toolchain file
29 run: rm rust-toolchain
31 - name: rust-toolchain
32 uses: actions-rs/toolchain@v1.0.6
35 target: x86_64-unknown-linux-gnu
42 run: cargo build --features deny-warnings
43 working-directory: clippy_dev
45 - name: Test limit_stderr_length
46 run: cargo dev limit_stderr_length
48 - name: Test update_lints
49 run: cargo dev update_lints --check
52 run: cargo dev fmt --check
54 # These jobs doesn't actually test anything, but they're only used to tell
55 # bors the build completed, as there is no practical way to detect when a
56 # workflow is successful listening to webhooks only.
58 # ALL THE PREVIOUS JOBS NEED TO BE ADDED TO THE `needs` SECTION OF THIS JOB!
61 name: bors dev test finished
62 if: github.event.pusher.name == 'bors' && success()
63 runs-on: ubuntu-latest
67 - name: Mark the job as successful
71 name: bors dev test finished
72 if: github.event.pusher.name == 'bors' && (failure() || cancelled())
73 runs-on: ubuntu-latest
77 - name: Mark the job as a failure