File tree Expand file tree Collapse file tree 6 files changed +44
-1
lines changed
Expand file tree Collapse file tree 6 files changed +44
-1
lines changed Original file line number Diff line number Diff line change 2424
2525 - name : Install Rust (1.89) + Clippy
262627+ id : toolchain
2728 with :
2829 components : clippy
29-
30+
31+ # NOTE: A repo-local `rust-toolchain.toml` is still respected by rustup.
32+ # `dtolnay/rust-toolchain` installs the requested toolchain but does not
33+ # automatically override it.
34+ - name : Override toolchain
35+ run : |
36+ rustup override set ${{ steps.toolchain.outputs.name }}
37+
3038 - name : Run Clippy
3139 run : |
3240 cargo clippy --all-features -- -D warnings
Original file line number Diff line number Diff line change 1616
1717 - name : Install Rust
1818 uses : dtolnay/rust-toolchain@nightly
19+ id : toolchain
20+
21+ # NOTE: A repo-local `rust-toolchain.toml` is still respected by rustup.
22+ # `dtolnay/rust-toolchain` installs the requested toolchain but does not
23+ # automatically override it.
24+ - name : Override toolchain
25+ run : |
26+ rustup override set ${{ steps.toolchain.outputs.name }}
1927
2028 - name : Install cargo-fuzz
2129 run : cargo install cargo-fuzz
Original file line number Diff line number Diff line change 4848
4949 - name : Install Rust
505051+ id : toolchain
52+
53+ # NOTE: A repo-local `rust-toolchain.toml` is still respected by rustup.
54+ # `dtolnay/rust-toolchain` installs the requested toolchain but does not
55+ # automatically override it.
56+ - name : Override toolchain
57+ run : |
58+ rustup override set ${{ steps.toolchain.outputs.name }}
5159
5260 - name : Install capnproto (Ubuntu)
5361 if : steps.detect.outputs.should_run_integration_test == 'true' && matrix.os == 'ubuntu-latest'
Original file line number Diff line number Diff line change 1414
1515 - name : Install Rust nightly + Miri
1616 uses : dtolnay/rust-toolchain@nightly
17+ id : toolchain
1718 with :
1819 components : miri
20+
21+ # NOTE: A repo-local `rust-toolchain.toml` is still respected by rustup.
22+ # `dtolnay/rust-toolchain` installs the requested toolchain but does not
23+ # automatically override it.
24+ - name : Override toolchain
25+ run : |
26+ rustup override set ${{ steps.toolchain.outputs.name }}
1927
2028 - name : Miri setup
2129 run : cargo miri setup
Original file line number Diff line number Diff line change 1515
1616 - name : Install Rust (1.85)
171718+ id : toolchain
19+
20+ # NOTE: A repo-local `rust-toolchain.toml` is still respected by rustup.
21+ # `dtolnay/rust-toolchain` installs the requested toolchain but does not
22+ # automatically override it.
23+ - name : Override toolchain
24+ run : |
25+ rustup override set ${{ steps.toolchain.outputs.name }}
1826
1927 - name : Cache Cargo registry
2028 uses : actions/cache@v4
Original file line number Diff line number Diff line change 1+ [toolchain ]
2+ channel = " 1.75.0"
3+ components = [ " rustfmt" , " clippy" ]
You can’t perform that action at this time.
0 commit comments