Skip to content

Commit 89d9390

Browse files
committed
ci: streamline clippy toolchain and frontend build step in rust.yml
1 parent db75b4f commit 89d9390

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/rust.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,17 @@ jobs:
2828
steps:
2929
- uses: actions/checkout@v4
3030
- uses: dtolnay/rust-toolchain@stable
31-
with:
32-
components: clippy
3331
- uses: actions/setup-node@v4
3432
with:
3533
node-version: 22
36-
cache: 'npm'
37-
cache-dependency-path: 'studio/package-lock.json'
3834
- name: Build Studio Frontend
3935
run: |
4036
cd studio
4137
npm ci || npm install
4238
npm run build
39+
- uses: Swatinem/rust-cache@v2
4340
- name: Run clippy
44-
run: cargo clippy --workspace --all-targets -- -D clippy::correctness -D clippy::suspicious -D clippy::complexity -D clippy::perf
41+
run: cargo clippy --workspace --all-targets
4542

4643
test:
4744
name: 🧪 Workspace Test Suite

0 commit comments

Comments
 (0)