9 # Only run on paths, that get checked by the clippy_dev tool
21 runs-on: ubuntu-latest
25 - name: rust-toolchain
26 uses: actions-rs/toolchain@v1.0.3
29 target: x86_64-unknown-linux-gnu
34 uses: actions/checkout@v2.0.0
38 run: cargo build --features deny-warnings
39 working-directory: clippy_dev
41 - name: Test limit_stderr_length
42 run: cargo dev limit_stderr_length
44 - name: Test update_lints
45 run: cargo dev update_lints --check
48 run: cargo dev fmt --check
50 # These jobs doesn't actually test anything, but they're only used to tell
51 # bors the build completed, as there is no practical way to detect when a
52 # workflow is successful listening to webhooks only.
54 # ALL THE PREVIOUS JOBS NEED TO BE ADDED TO THE `needs` SECTION OF THIS JOB!
57 name: bors dev test finished
58 if: github.event.pusher.name == 'bors' && success()
59 runs-on: ubuntu-latest
63 - name: Mark the job as successful
67 name: bors dev test finished
68 if: github.event.pusher.name == 'bors' && (failure() || cancelled())
69 runs-on: ubuntu-latest
73 - name: Mark the job as a failure