Skip to content

Commit

Permalink
chore(ci): Add sqlx prepare check to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgehermo9 committed Oct 6, 2024
1 parent be59905 commit 70b7f88
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,14 @@ jobs:
- uses: Swatinem/rust-cache@v2
- name: Run tests
run: just test
sqlx-prepare:
runs-on: ubuntu-latest
name: sqlx check
steps:
- uses: actions/checkout@v4
- uses: taiki-e/install-action@v2
with:
tool: just
- uses: Swatinem/rust-cache@v2
- name: Run sqlx check
run: just sqlx-check
4 changes: 2 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ test:
build:
cargo build --release
sqlx-check:
sqlx prepare --check --workspace
cargo sqlx prepare --check --workspace
sqlx-prepare:
sqlx prepare --workspace
cargo sqlx prepare --workspace

0 comments on commit 70b7f88

Please sign in to comment.