Set rustup profile to minimal (#1516)
This commit is contained in:
parent
cceadba338
commit
5203b7e10d
1
.github/workflows/audit.yml
vendored
1
.github/workflows/audit.yml
vendored
@ -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 }}
|
||||
|
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
@ -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
|
||||
|
@ -1,3 +1,4 @@
|
||||
[toolchain]
|
||||
channel = "nightly-2024-07-13"
|
||||
components = ["rust-src", "rustc-dev", "llvm-tools"]
|
||||
profile = "minimal"
|
||||
|
Loading…
x
Reference in New Issue
Block a user