File tree Expand file tree Collapse file tree 3 files changed +78
-0
lines changed Expand file tree Collapse file tree 3 files changed +78
-0
lines changed Original file line number Diff line number Diff line change @@ -266,3 +266,29 @@ jobs:
266266 cargo install cargo-cache --debug
267267 find ~/.cargo/bin ! -type d -exec strip {} \;
268268 cargo cache --autoclean
269+
270+ # These jobs doesn't actually test anything, but they're only used to tell
271+ # bors the build completed, as there is no practical way to detect when a
272+ # workflow is successful listening to webhooks only.
273+ #
274+ # ALL THE PREVIOUS JOBS NEED TO BE ADDED TO THE `needs` SECTION OF THIS JOB!
275+
276+ end-success :
277+ name : bors test finished
278+ if : github.event.pusher.name == 'bors' && success()
279+ runs-on : ubuntu-latest
280+ needs : [base, integration]
281+
282+ steps :
283+ - name : Mark the job as successful
284+ run : exit 0
285+
286+ end-failure :
287+ name : bors test finished
288+ if : github.event.pusher.name == 'bors' && (failure() || cancelled())
289+ runs-on : ubuntu-latest
290+ needs : [base, integration]
291+
292+ steps :
293+ - name : Mark the job as a failure
294+ run : exit 1
Original file line number Diff line number Diff line change 4242 run : cargo dev update_lints --check
4343 - name : Test fmt
4444 run : cargo dev fmt --check
45+
46+ # These jobs doesn't actually test anything, but they're only used to tell
47+ # bors the build completed, as there is no practical way to detect when a
48+ # workflow is successful listening to webhooks only.
49+ #
50+ # ALL THE PREVIOUS JOBS NEED TO BE ADDED TO THE `needs` SECTION OF THIS JOB!
51+
52+ end-success :
53+ name : bors dev test finished
54+ if : github.event.pusher.name == 'bors' && success()
55+ runs-on : ubuntu-latest
56+ needs : [clippy_dev]
57+
58+ steps :
59+ - name : Mark the job as successful
60+ run : exit 0
61+
62+ end-failure :
63+ name : bors dev test finished
64+ if : github.event.pusher.name == 'bors' && (failure() || cancelled())
65+ runs-on : ubuntu-latest
66+ needs : [clippy_dev]
67+
68+ steps :
69+ - name : Mark the job as a failure
70+ run : exit 1
Original file line number Diff line number Diff line change 2222
2323 - name : Check *.md files
2424 run : git ls-files -z '*.md' | xargs -0 -n 1 -I {} ./node_modules/.bin/remark {} -u lint -f > /dev/null
25+
26+ # These jobs doesn't actually test anything, but they're only used to tell
27+ # bors the build completed, as there is no practical way to detect when a
28+ # workflow is successful listening to webhooks only.
29+ #
30+ # ALL THE PREVIOUS JOBS NEED TO BE ADDED TO THE `needs` SECTION OF THIS JOB!
31+
32+ end-success :
33+ name : bors remark test finished
34+ if : github.event.pusher.name == 'bors' && success()
35+ runs-on : ubuntu-latest
36+ needs : [remark]
37+
38+ steps :
39+ - name : Mark the job as successful
40+ run : exit 0
41+
42+ end-failure :
43+ name : bors remark test finished
44+ if : github.event.pusher.name == 'bors' && (failure() || cancelled())
45+ runs-on : ubuntu-latest
46+ needs : [remark]
47+
48+ steps :
49+ - name : Mark the job as a failure
50+ run : exit 1
You can’t perform that action at this time.
0 commit comments