File tree Expand file tree Collapse file tree 2 files changed +33
-18
lines changed Expand file tree Collapse file tree 2 files changed +33
-18
lines changed Original file line number Diff line number Diff line change 5252 ~/.cargo/registry/cache/
5353 ~/.cargo/git/db/
5454 target/
55- key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
56- restore-keys : ${{ runner.os }}-cargo-
55+ # We do not have a Cargo.lock here, so I hash Cargo.toml
56+ key : ${{ runner.os }}-rust-${{ inputs.rust-version }}-cargo-${{ hashFiles('**/Cargo.toml') }}
57+ restore-keys : ${{ runner.os }}-cargo-${{ inputs.rust-version }}
5758 - run : cargo version
5859 - name : Code Formatting
5960 if : ${{ inputs.do-style-check }}
Original file line number Diff line number Diff line change 1515 CARGO_TERM_COLOR : always
1616
1717jobs :
18- build_multiboot2_msrv :
19- name : " build (msrv)"
18+ build_msrv :
19+ name : build (msrv)
2020 uses : ./.github/workflows/_build-rust.yml
2121 with :
2222 rust-version : 1.56.1
2323 do-style-check : false
2424
25- build_multiboot2_stable :
26- name : " build (stable)"
25+ build_stable :
26+ name : build (stable)
2727 uses : ./.github/workflows/_build-rust.yml
2828 with :
2929 rust-version : stable
3030 do-style-check : false
3131
32- build_multiboot2_nightly :
33- name : " build (nightly)"
32+ build_nightly :
33+ name : build (nightly)
3434 uses : ./.github/workflows/_build-rust.yml
3535 with :
3636 rust-version : nightly
3737 do-style-check : false
3838
39- build_nostd_multiboot2_msrv :
40- name : " build no_std (msrv)"
39+ build_nostd_msrv :
40+ name : build no_std (msrv)
41+ needs : build_msrv
4142 uses : ./.github/workflows/_build-rust.yml
4243 with :
4344 rust-version : 1.56.1
4445 do-style-check : false
4546 rust-target : thumbv7em-none-eabihf
4647
47- build_nostd_multiboot2_stable :
48- name : " build no_std (stable)"
48+ build_nostd_stable :
49+ name : build no_std (stable)
50+ needs : build_stable
4951 uses : ./.github/workflows/_build-rust.yml
5052 with :
5153 rust-version : stable
5254 do-style-check : false
5355 rust-target : thumbv7em-none-eabihf
5456
55- build_nostd_multiboot2_nightly :
56- name : " build no_std (nightly)"
57+ build_nostd_nightly :
58+ name : build no_std (nightly)
59+ needs : build_nightly
5760 uses : ./.github/workflows/_build-rust.yml
5861 with :
5962 rust-version : nightly
6063 do-style-check : false
6164 rust-target : thumbv7em-none-eabihf
6265
63- style_multiboot2_msrv :
64- name : " style (msrv)"
66+ style_msrv :
67+ name : style (msrv)
68+ needs : build_msrv
6569 uses : ./.github/workflows/_build-rust.yml
6670 with :
6771 rust-version : 1.56.1
6872 do-style-check : true
6973 do-test : false
7074
71- style_multiboot2_stable :
72- name : " style (stable)"
75+ style_stable :
76+ name : style (stable)
77+ needs : build_stable
7378 uses : ./.github/workflows/_build-rust.yml
7479 with :
7580 rust-version : stable
7681 do-style-check : true
7782 do-test : false
83+
84+ style_nightly :
85+ name : style (nightly)
86+ needs : build_nightly
87+ uses : ./.github/workflows/_build-rust.yml
88+ with :
89+ rust-version : nightly
90+ do-style-check : true
91+ do-test : false
You can’t perform that action at this time.
0 commit comments