File tree Expand file tree Collapse file tree 4 files changed +18
-7
lines changed
Expand file tree Collapse file tree 4 files changed +18
-7
lines changed Original file line number Diff line number Diff line change 3333 steps :
3434 - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # 5.0.0
3535
36+ - name : Add Rustup Target
37+ run : |
38+ rustup set profile minimal
39+ rustup target add ${{ matrix.target }}
40+
3641 - name : Cache Dependencies
3742 uses : swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # 2.8.0
3843
Original file line number Diff line number Diff line change @@ -40,11 +40,11 @@ jobs:
4040 - name : Checkout Repository
4141 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # 5.0.0
4242
43- - name : Install Rust Toolchain
44- run : rustup toolchain install stable --profile minimal --component clippy --component rustfmt --no-self-update
45-
46- - name : Add Target
47- run : rustup target add ${{ matrix.target }}
43+ - name : Setup Rust Toolchain
44+ run : |
45+ rustup set profile minimal
46+ rustup component add clippy rustfmt
47+ rustup target add ${{ matrix.target }}
4848
4949 - name : Install musl-gcc (Linux only)
5050 if : matrix.os == 'ubuntu-24.04'
Original file line number Diff line number Diff line change 4141 - name : Checkout Repository
4242 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # 5.0.0
4343
44- - name : Add Target
45- run : rustup target add ${{ matrix.target }}
44+ - name : Setup Rust Toolchain
45+ run : |
46+ rustup set profile minimal
47+ rustup target add ${{ matrix.target }}
4648
4749 - name : Install musl-gcc (Linux only)
4850 if : matrix.os == 'ubuntu-24.04'
Original file line number Diff line number Diff line change 1+ [toolchain ]
2+ # We pin the minor version to prevent new Clippy lints from breaking CI.
3+ # But, we still want to pick up new patch versions.
4+ channel = " 1.89"
You can’t perform that action at this time.
0 commit comments