From 323afae86b5e99da5489e06986677d96fa67130f Mon Sep 17 00:00:00 2001 From: shm Date: Sun, 1 Sep 2024 12:58:29 +0900 Subject: [PATCH] update: add rust linter --- .github/workflows/ci.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 384e775..8f77728 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -35,12 +35,19 @@ jobs: - name: install Rust stable uses: dtolnay/rust-toolchain@stable + - name: install Rust tool + run: rustup component add clippy + - name: install frontend dependencies run: npm ci - name: check front end Lint run: npm run lint:ci + - name: check back end Lint + run: cargo clippy --all-targets --all-features + working-directory: ./src-tauri + - uses: tauri-apps/tauri-action@v0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}