From 1454e46cc7d9ede66cf36774d549d0c63bb98889 Mon Sep 17 00:00:00 2001 From: Vitor Hugo Schwaab Date: Wed, 22 May 2024 16:29:12 +0200 Subject: [PATCH] ci: only build of code-analysis succeeds --- .github/workflows/{codestyle.yml => code-analysis.yml} | 0 .github/workflows/gradle-run-unit-tests.yml | 8 ++++---- 2 files changed, 4 insertions(+), 4 deletions(-) rename .github/workflows/{codestyle.yml => code-analysis.yml} (100%) diff --git a/.github/workflows/codestyle.yml b/.github/workflows/code-analysis.yml similarity index 100% rename from .github/workflows/codestyle.yml rename to .github/workflows/code-analysis.yml diff --git a/.github/workflows/gradle-run-unit-tests.yml b/.github/workflows/gradle-run-unit-tests.yml index 4682a16374c..a4c87a288cf 100644 --- a/.github/workflows/gradle-run-unit-tests.yml +++ b/.github/workflows/gradle-run-unit-tests.yml @@ -11,8 +11,8 @@ concurrency: cancel-in-progress: true jobs: - code-style: - uses: ./.github/workflows/codestyle.yml + code-analysis: + uses: ./.github/workflows/code-analysis.yml unit-tests: runs-on: buildjet-8vcpu-ubuntu-2204 @@ -88,14 +88,14 @@ jobs: build-beta: if: ${{ github.event_name == 'pull_request' }} - needs: [unit-tests] + needs: [unit-tests, code-analysis] uses: ./.github/workflows/build-app.yml with: flavour: "beta-debug" build-dev: if: ${{ github.event_name == 'pull_request' }} - needs: [unit-tests] + needs: [unit-tests, code-analysis] uses: ./.github/workflows/build-app.yml with: flavour: "dev-debug"