Skip to content

Commit f631b3a

Browse files
committed
chore: install Clippy and rustfmt on CI manually
1 parent 561f34f commit f631b3a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,19 @@ jobs:
2323
steps:
2424
- uses: actions/checkout@v4
2525
- name: Run cargo clippy
26-
run: cargo clippy --workspace --all-features -- -D warnings
26+
run: |
27+
rustup component add clippy
28+
cargo clippy --workspace --all-features -- -D warnings
2729
2830
check_fmt:
2931
runs-on: ubuntu-24.04
3032
name: Checking fmt
3133
steps:
3234
- uses: actions/checkout@v4
3335
- name: Run cargo fmt
34-
run: cargo fmt --all -- --check
36+
run: |
37+
rustup component add rustfmt
38+
cargo fmt --all -- --check
3539
3640
rustdoc:
3741
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)