Set rustup profile to minimal (#1516)

This commit is contained in:
Rémy Rakic 2024-07-14 16:59:06 +02:00 committed by GitHub
parent cceadba338
commit 5203b7e10d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1 additions and 2 deletions

View File

@ -13,7 +13,6 @@ jobs:
- uses: actions/checkout@v4
- run: |
sed -i 's/components.*/components = []/' rust-toolchain
echo 'profile = "minimal"' >> rust-toolchain
- uses: rustsec/audit-check@v1.4.1
with:
token: ${{ secrets.GITHUB_TOKEN }}

View File

@ -29,7 +29,6 @@ jobs:
- name: Avoid installing rustc-dev
run: |
sed -i 's/components.*/components = ["rustfmt"]/' rust-toolchain
echo 'profile = "minimal"' >> rust-toolchain
rustfmt -v
- name: Rustfmt

View File

@ -1,3 +1,4 @@
[toolchain]
channel = "nightly-2024-07-13"
components = ["rust-src", "rustc-dev", "llvm-tools"]
profile = "minimal"