From 92207fc52a0821e5fe9827a4377b4cd183d7a383 Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Thu, 22 Feb 2024 18:54:31 +0100 Subject: [PATCH] build(github): Let Detekt also check `main` with type resolution Signed-off-by: Sebastian Schuberth --- .github/workflows/static-analysis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index f29c0d4a10178..3a01203defd27 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -56,7 +56,7 @@ jobs: uses: gradle/gradle-build-action@v3 with: gradle-home-cache-cleanup: true - arguments: detektTestFixtures detektTest detektFunTest + arguments: detektMain detektTestFixtures detektTest detektFunTest - name: Upload SARIF File uses: github/codeql-action/upload-sarif@v3 if: ${{ always() }} # Upload even if the previous step failed.