Skip to content

Commit

Permalink
Include checks for offline queries in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tpoliaw committed Nov 28, 2024
1 parent 01805b0 commit 5651505
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,22 @@ jobs:
cargo clippy --version
cargo clippy --all-targets --all-features -- --deny warnings
sqlx_offline:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- name: Install sqlx CLI
run: cargo install [email protected]
- name: Check Prepared Queries
run: |
touch numtracker.db
cargo sqlx migrate run
cargo sqlx prepare --check
test:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 5651505

Please sign in to comment.