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"]
2
2
delete_merged_branches = true
3
3
required_approvals = 1
4
4
status = [
5
- " build-riscv (stable%)" ,
6
- " build-riscv (1.59.0%)" ,
7
- " build-others (%)" ,
8
- " clippy (stable%)" ,
5
+ " build-check" ,
6
+ " clippy-check" ,
9
7
" rustfmt" ,
10
8
]
Original file line number Diff line number Diff line change 50
50
- uses : dtolnay/rust-toolchain@stable
51
51
- name : Build crate for host OS
52
52
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 31
31
components : clippy
32
32
- name : Run clippy
33
33
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