Avoid installing rustc-dev in the rustfmt CI job

This commit is contained in:
bjorn3 2023-07-13 11:34:54 +00:00
parent aa6916bd01
commit fae8935e3d

View file

@ -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: |