File tree Expand file tree Collapse file tree
actions/clippy-annotation-reporter Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 steps :
2626 - name : Set up Rust
2727 shell : bash
28- run : rustup install stable && rustup default stable
28+ run : rustup set profile minimal && rustup install stable && rustup default stable
2929
3030 - name : Fetch all branches
3131 shell : bash
Original file line number Diff line number Diff line change 2828 with :
2929 fetch-depth : 0 # Full history
3030 - name : Install Rust
31- run : rustup install stable
31+ run : rustup set profile minimal && rustup install stable
3232 - name : Run annotation reporter
3333 uses : ./.github/actions/clippy-annotation-reporter
3434 with :
Original file line number Diff line number Diff line change 2929 with :
3030 submodules : recursive
3131 - name : Install Rust
32- run : rustup install nightly-2026-02-08 && rustup default nightly-2026-02-08
32+ run : rustup set profile minimal && rustup install nightly-2026-02-08 && rustup default nightly-2026-02-08
3333 - name : Install cargo-llvm-cov
3434 uses : taiki-e/install-action@2c41309d51ede152b6f2ee6bf3b71e6dc9a8b7df # 2.49.27
3535 with :
Original file line number Diff line number Diff line change 2727 with :
2828 submodules : recursive
2929 - name : Install nightly-2026-02-08 toolchain and rustfmt
30- run : rustup install nightly-2026-02-08 && rustup default nightly-2026-02-08 && rustup component add rustfmt
30+ run : rustup set profile minimal && rustup install nightly-2026-02-08 && rustup default nightly-2026-02-08 && rustup component add rustfmt
3131 - name : Cache [rust]
3232 uses : Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # 2.8.1
3333 with :
4848 with :
4949 submodules : recursive
5050 - name : Install ${{ matrix.rust_version }} toolchain and clippy
51- run : rustup install ${{ matrix.rust_version }} && rustup default ${{ matrix.rust_version }} && rustup component add clippy
51+ run : rustup set profile minimal && rustup install ${{ matrix.rust_version }} && rustup default ${{ matrix.rust_version }} && rustup component add clippy
5252 - name : Cache [rust]
5353 uses : Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # 2.8.1
5454 with :
Original file line number Diff line number Diff line change 9191
9292 - name : Install Rust ${{ env.RUST_VERSION }}
9393 run : |
94+ rustup set profile minimal
9495 rustup install ${{ env.RUST_VERSION }} && rustup default ${{ env.RUST_VERSION }}
95- rustup toolchain install nightly-2026-02-08 --profile minimal
96+ rustup toolchain install nightly-2026-02-08
9697 # Link the dated nightly as 'nightly' for tools (like cargo-public-api) that expect it
9798 ln -sf ~/.rustup/toolchains/nightly-2026-02-08-x86_64-unknown-linux-gnu ~/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu
9899
Original file line number Diff line number Diff line change 4040 submodules : recursive
4141 - name : Install Rust ${{ matrix.rust_version }}
4242 if : matrix.rust_version != ''
43- run : rustup install ${{ matrix.rust_version }} && rustup default ${{ matrix.rust_version }}
43+ run : rustup set profile minimal && rustup install ${{ matrix.rust_version }} && rustup default ${{ matrix.rust_version }}
4444 - id : rust-version
4545 # On Windows run happens in a PowerShell, so start bash explicitly
4646 run : bash -c 'echo "version=$(rustc --version)" >> $GITHUB_OUTPUT'
@@ -195,7 +195,7 @@ jobs:
195195 swap-storage : true
196196 - name : Install Rust ${{ matrix.rust_version }}
197197 if : matrix.rust_version != ''
198- run : rustup install ${{ matrix.rust_version }} && rustup default ${{ matrix.rust_version }}
198+ run : rustup set profile minimal && rustup install ${{ matrix.rust_version }} && rustup default ${{ matrix.rust_version }}
199199
200200 - id : rust-version
201201 # On Windows run happens in a PowerShell, so start bash explicitly
Original file line number Diff line number Diff line change 4646 run : |
4747 ../../../.github/workflows/diff-proto-files.sh --file idx/span.proto --tag ${{ env.DATADOG_AGENT_TAG }}
4848 - name : Install ${{ env.rust_version }} toolchain
49- run : rustup install ${{ env.rust_version }} && rustup default ${{ env.rust_version }}
49+ run : rustup set profile minimal && rustup install ${{ env.rust_version }} && rustup default ${{ env.rust_version }}
5050 - name : Cache [rust]
5151 uses : Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # 2.8.1
5252 with :
You can’t perform that action at this time.
0 commit comments