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
30 run: cargo build --features deny-warnings
31 working-directory: clippy_dev
33 - name: Test update_lints
34 run: cargo dev update_lints --check
37 run: cargo dev fmt --check
39 # These jobs doesn't actually test anything, but they're only used to tell
40 # bors the build completed, as there is no practical way to detect when a
41 # workflow is successful listening to webhooks only.
43 # ALL THE PREVIOUS JOBS NEED TO BE ADDED TO THE `needs` SECTION OF THIS JOB!
46 name: bors dev test finished
47 if: github.event.pusher.name == 'bors' && success()
48 runs-on: ubuntu-latest
52 - name: Mark the job as successful
56 name: bors dev test finished
57 if: github.event.pusher.name == 'bors' && (failure() || cancelled())
58 runs-on: ubuntu-latest
62 - name: Mark the job as a failure