From e55d0098607e4d72595de468d3759f858fee8e5f Mon Sep 17 00:00:00 2001 From: Denis Cornehl Date: Fri, 4 Oct 2024 10:34:15 +0200 Subject: [PATCH] fx --- .github/workflows/ci.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 62afd027e..7e7e4bb3d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,17 +49,12 @@ jobs: # Make sure the database is actually working psql "${DOCSRS_DATABASE_URL}" - - name: Build - run: cargo build --workspace --locked - env: - DATABASE_URL: ${{ env.DOCSRS_DATABASE_URL }} - - - name: run database migrations - run: cargo run -- database migrate - - name: install SQLX CLI run: cargo install sqlx-cli --no-default-features --features postgres + - name: run database migrations + run: sqlx migrate run + - name: run sqlx prepare --check run: just sqlx-check