From d7b3d4dbfe768e4feb0c47d62d2c7862650ee852 Mon Sep 17 00:00:00 2001 From: till_schuetze Date: Wed, 30 Oct 2024 17:08:06 +0100 Subject: [PATCH] try sleep --- .github/workflows/code-quality.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index f0deddbdd..4560dbcba 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -190,6 +190,8 @@ jobs: format-api: runs-on: ubuntu-latest + needs: + - install-api steps: - name: Checkout repository uses: actions/checkout@v4 @@ -213,15 +215,17 @@ jobs: sqlx migrate run - name: Run fmt run: | - rustup component add rustfmt - cargo fmt + docker compose exec api rustup component add rustfmt + docker compose exec api cargo fmt - name: Run clippy run: | - rustup component add clippy - cargo clippy + docker compose exec api rustup component add clippy + docker compose exec api cargo clippy test-api: runs-on: ubuntu-latest + needs: + - install-api steps: - name: Checkout repository uses: actions/checkout@v4 @@ -256,7 +260,6 @@ jobs: needs: - test-api - format-api - - install-api steps: - name: Checkout repository uses: actions/checkout@v4 @@ -286,7 +289,5 @@ jobs: cd api docker compose exec api cargo build -# test-api: -