Skip to content

Commit

Permalink
Add offline sqlx check
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielCosme committed Feb 21, 2024
1 parent c39dc0a commit 6e1c65e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/general.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
SKIP_DOCKER=true ./scripts/init_db.sh
- name: Check sqlx-data.json is up-to-date
run: |
SQLX_OFFLINE=true
cargo sqlx prepare --workspace --check
- name: Run tests
run: cargo test
Expand Down Expand Up @@ -101,6 +102,7 @@ jobs:
SKIP_DOCKER=true ./scripts/init_db.sh
- name: Check sqlx-data.json is up-to-date
run: |
SQLX_OFFLINE=true
cargo sqlx prepare --workspace --check
- name: Linting
run: cargo clippy -- -D warnings
Expand Down

0 comments on commit 6e1c65e

Please sign in to comment.