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 update_lints
46 run: cargo dev update_lints --check
49 run: cargo dev fmt --check
51 # These jobs doesn't actually test anything, but they're only used to tell
52 # bors the build completed, as there is no practical way to detect when a
53 # workflow is successful listening to webhooks only.
55 # ALL THE PREVIOUS JOBS NEED TO BE ADDED TO THE `needs` SECTION OF THIS JOB!
58 name: bors dev test finished
59 if: github.event.pusher.name == 'bors' && success()
60 runs-on: ubuntu-latest
64 - name: Mark the job as successful
68 name: bors dev test finished
69 if: github.event.pusher.name == 'bors' && (failure() || cancelled())
70 runs-on: ubuntu-latest
74 - name: Mark the job as a failure