From 826be05494135c1842acd7ebfeb4e5dd3b4dd014 Mon Sep 17 00:00:00 2001 From: "AppFlowy.IO" <86001920+appflowy@users.noreply.github.com> Date: Wed, 1 Dec 2021 16:47:15 +0800 Subject: [PATCH] Update backend_general.yml --- .github/workflows/backend_general.yml | 28 +++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/backend_general.yml b/.github/workflows/backend_general.yml index a3d4093bd0..00e2f0dd90 100644 --- a/.github/workflows/backend_general.yml +++ b/.github/workflows/backend_general.yml @@ -66,21 +66,21 @@ jobs: --no-default-features --locked - - name: Migrate database - working-directory: backend/ - run: | - sudo apt-get install libpq-dev -y - SKIP_DOCKER=true ./backend/scripts/init_database.sh + - name: Migrate database + working-directory: backend/ + run: | + sudo apt-get install libpq-dev -y + SKIP_DOCKER=true ./backend/scripts/init_database.sh - - name: Check sqlx-data.json is up-to-date - working-directory: backend/ - run: | - cargo sqlx prepare --check -- --bin backend + - name: Check sqlx-data.json is up-to-date + working-directory: backend/ + run: | + cargo sqlx prepare --check -- --bin backend - - name: Run cargo test - working-directory: backend/ - uses: actions-rs/cargo@v1 - with: - command: test + - name: Run cargo test + uses: actions-rs/cargo@v1 + with: + path: "backend/" + command: test