Skip to content

Commit a7ff540

Browse files
committed
ci/cd: ensure clippy component is installed in build.yml
1 parent e79fe5d commit a7ff540

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ jobs:
7474
run: rustup toolchain install nightly --profile default --target ${{ matrix.target }} --no-self-update
7575
- name: "Ensure nightly rustfmt installed"
7676
run: rustup component add rustfmt --toolchain nightly
77+
- name: "Ensure nightly clippy installed"
78+
run: rustup component add clippy --toolchain nightly
7779
- name: "Run Cargo fmt"
7880
run: cargo +nightly fmt --all
7981
- name: "Run Cargo check"
@@ -137,6 +139,8 @@ jobs:
137139
run: rustup toolchain install nightly --profile default --target ${{ matrix.target }} --no-self-update
138140
- name: "Ensure nightly rustfmt installed"
139141
run: rustup component add rustfmt --toolchain nightly
142+
- name: "Ensure nightly clippy installed"
143+
run: rustup component add clippy --toolchain nightly
140144
- name: "Run Cargo fmt"
141145
run: cargo +nightly fmt --all
142146
- name: "Run Clippy with pedantic"

0 commit comments

Comments
 (0)