Skip to content

Commit 16816bc

Browse files
committed
fix(ci): remove rustfmt component install — removed in Rust 1.95
rustup no longer supports 'rustfmt' as a separate component since Rust 1.95 (it's bundled with the default toolchain). Replace the broken 'rustup component rustfmt clippy' commands with 'rjustup component add clippy' in both build-artifacts-ci and release-tarballs jobs.
1 parent 61fba64 commit 16816bc

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ jobs:
6262
steps:
6363
- uses: actions/checkout@v4
6464

65-
- name: Install stable toolchain and cross target
65+
- name: Install stable toolchain and clippy
6666
run: |
6767
rustup update stable && rustup default stable
68-
rustup component rustfmt clippy
68+
rustup component add clippy
6969
7070
- name: Cache dependencies and build
7171
uses: Swatinem/rust-cache@v2
@@ -120,10 +120,10 @@ jobs:
120120
steps:
121121
- uses: actions/checkout@v4
122122

123-
- name: Install stable toolchain and rustfmt/clippy
123+
- name: Install stable toolchain and clippy
124124
run: |
125125
rustup update stable && rustup default stable
126-
rustup component rustfmt clippy
126+
rustup component add clippy
127127
128128
- name: Cache dependencies and build
129129
uses: Swatinem/rust-cache@v2

0 commit comments

Comments
 (0)