Skip to content

Commit

Permalink
Configure CI for merge_queue.
Browse files Browse the repository at this point in the history
  • Loading branch information
jswrenn committed Oct 3, 2023
1 parent f027c36 commit c4358ab
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@ name: CI

on:
pull_request:
push:
branches:
- staging
- trying
merge_group:

jobs:
check:
Expand Down Expand Up @@ -52,12 +49,12 @@ jobs:
components: rustfmt
- run: cargo fmt --check

# https://github.com/rust-lang/crater/blob/9ab6f9697c901c4a44025cf0a39b73ad5b37d198/.github/workflows/bors.yml#L125-L149
end-success:
name: bors build finished
# Used to signal to branch protections that all other jobs have succeeded.
all-jobs-succeed:
name: All checks succeeded
if: success()
runs-on: ubuntu-latest
needs: [check, test]
needs: [check, msrv, test, check-format]
steps:
- name: Mark the job as successful
run: exit 0

0 comments on commit c4358ab

Please sign in to comment.