mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-06-06 13:53:54 +02:00
ci: clippy sql plugin one feature at a time
As it doesn't support --all-features and breaks.
This commit is contained in:
@@ -43,11 +43,28 @@ jobs:
|
||||
override: true
|
||||
components: clippy
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
|
||||
- uses: actions-rs/clippy-check@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
args: --all --all-targets --all-features -- -D warnings
|
||||
args: --workspace --exclude 'tauri-plugin-sql' --all-targets --all-features -- -D warnings
|
||||
name: clippy
|
||||
- uses: actions-rs/clippy-check@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
args: --workspace --package 'tauri-plugin-sql' --all-targets --feature sqlite -- -D warnings
|
||||
name: clippy sql:sqlite
|
||||
- uses: actions-rs/clippy-check@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
args: --workspace --package 'tauri-plugin-sql' --all-targets --feature mysql -- -D warnings
|
||||
name: clippy sql:mysql
|
||||
- uses: actions-rs/clippy-check@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
args: --workspace --package 'tauri-plugin-sql' --all-targets --feature postgres -- -D warnings
|
||||
name: clippy sql:postgres
|
||||
|
||||
fmt:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
|
||||
Reference in New Issue
Block a user