From e95b26682eb32f8fccd43beb58b518dba58b2307 Mon Sep 17 00:00:00 2001 From: Tonko Mulder Date: Thu, 5 Sep 2024 00:10:22 +0200 Subject: [PATCH] update depend tree for Github Action jobs Signed-off-by: Tonko Mulder --- .github/workflows/quality-assurance.yml | 4 ++++ .github/workflows/quality-control.yml | 3 +++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/quality-assurance.yml b/.github/workflows/quality-assurance.yml index c21781d4d..601a228ae 100644 --- a/.github/workflows/quality-assurance.yml +++ b/.github/workflows/quality-assurance.yml @@ -27,6 +27,7 @@ jobs: check-style: name: Check Styling runs-on: ubuntu-latest + needs: validate-composer steps: - name: Checkout code uses: actions/checkout@v4 @@ -39,6 +40,7 @@ jobs: phpstan: name: Perform Static Analysis runs-on: ubuntu-latest + needs: validate-composer steps: - uses: actions/checkout@v4 @@ -57,6 +59,7 @@ jobs: rector: name: Run Rector runs-on: ubuntu-latest + needs: validate-composer steps: - uses: actions/checkout@v4 @@ -75,6 +78,7 @@ jobs: phpunit: runs-on: ${{ matrix.os }} + needs: phpstan strategy: fail-fast: true matrix: diff --git a/.github/workflows/quality-control.yml b/.github/workflows/quality-control.yml index ca535ba08..de1a524ff 100644 --- a/.github/workflows/quality-control.yml +++ b/.github/workflows/quality-control.yml @@ -27,6 +27,7 @@ jobs: rector: name: Run Rector runs-on: ubuntu-latest + needs: validate-composer steps: - uses: actions/checkout@v4 @@ -45,6 +46,7 @@ jobs: fix-style: name: Fix Styling runs-on: ubuntu-latest + needs: rector steps: - name: Checkout code uses: actions/checkout@v4 @@ -62,6 +64,7 @@ jobs: phpstan: name: Perform Static Analysis runs-on: ubuntu-latest + needs: validate-composer steps: - uses: actions/checkout@v4