Skip to content

Commit e7ee586

Browse files
authored
chore: install clippy and rustfmt
1 parent 155efae commit e7ee586

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ jobs:
2828
- uses: actions/checkout@v4
2929
- name: Install required packages
3030
run: sudo apt install --no-install-recommends --yes libhwloc-dev nvidia-cuda-toolkit ocl-icd-opencl-dev
31+
- name: Install cargo clippy
32+
run: rustup component add clippy
3133
- name: Run cargo clippy
3234
run: cargo clippy --all-targets --workspace -- -D warnings
3335

@@ -36,6 +38,8 @@ jobs:
3638
name: Checking fmt
3739
steps:
3840
- uses: actions/checkout@v4
41+
- name: Install cargo fmt
42+
run: rustup component add rustfmt
3943
- name: Run cargo fmt
4044
run: cargo fmt --all -- --check
4145

0 commit comments

Comments
 (0)