File tree Expand file tree Collapse file tree 3 files changed +21
-4
lines changed Expand file tree Collapse file tree 3 files changed +21
-4
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,7 @@ block_labels = ["needs-decision"]
22delete_merged_branches = true
33required_approvals = 1
44status = [
5- " build-riscv (stable%)" ,
6- " build-riscv (1.59.0%)" ,
7- " build-others (%)" ,
8- " clippy (stable%)" ,
5+ " build-check" ,
6+ " clippy-check" ,
97 " rustfmt" ,
108]
Original file line number Diff line number Diff line change 5050 - uses : dtolnay/rust-toolchain@stable
5151 - name : Build crate for host OS
5252 run : cargo build ${{ matrix.cargo_flags }}
53+
54+ # Job to check that all the builds succeeded
55+ build-check :
56+ needs :
57+ - build-riscv
58+ - build-others
59+ runs-on : ubuntu-latest
60+ if : always()
61+ steps :
62+ - run : jq --exit-status 'all(.result == "success")' <<< '${{ toJson(needs) }}'
Original file line number Diff line number Diff line change 3131 components : clippy
3232 - name : Run clippy
3333 run : cargo clippy --all ${{ matrix.cargo_flags }} -- -D warnings
34+
35+ # Job to check that all the lint checks succeeded
36+ clippy-check :
37+ needs :
38+ - clippy
39+ runs-on : ubuntu-latest
40+ if : always()
41+ steps :
42+ - run : jq --exit-status 'all(.result == "success")' <<< '${{ toJson(needs) }}'
You can’t perform that action at this time.
0 commit comments