mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Avoid installing rustc-dev in the rustfmt CI job
This commit is contained in:
parent
aa6916bd01
commit
fae8935e3d
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@ -12,9 +12,11 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install rustfmt
|
||||
- name: Avoid installing rustc-dev
|
||||
run: |
|
||||
rustup component add rustfmt
|
||||
sed -i 's/components.*/components = ["rustfmt"]/' rust-toolchain
|
||||
echo 'profile = "minimal"' >> rust-toolchain
|
||||
rustfmt -v
|
||||
|
||||
- name: Rustfmt
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user