From 83fc2a32fe37677f7e1b9771e1f9bde53f0d7549 Mon Sep 17 00:00:00 2001 From: Pierre-Nicolas Watin-Augouard Date: Sat, 6 Apr 2024 20:54:50 +0200 Subject: [PATCH] chore: update ci to check for sqlx prepared queries on all targets --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8782c49..efa222b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,7 +44,7 @@ jobs: SKIP_DOCKER=true ./scripts/init_db.sh - name: cargo sqlx prepare check run: | - cargo sqlx prepare --workspace --check + cargo sqlx prepare --workspace --check -- --all-targets - name: cargo clippy run: cargo clippy --workspace --all-targets --all-features -- -D warnings - name: cargo fmt @@ -80,6 +80,6 @@ jobs: SKIP_DOCKER=true ./scripts/init_db.sh - name: cargo sqlx prepare check run: | - cargo sqlx prepare --workspace --check + cargo sqlx prepare --workspace --check -- --all-targets - name: cargo test run: cargo test