|
|
|
@ -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:
|
|
|
|
|