From 30ae078404cb650250d0ea99810f327d023f2a57 Mon Sep 17 00:00:00 2001 From: Simon Marquis Date: Fri, 20 Dec 2024 10:32:33 +0100 Subject: [PATCH] Fix CI workflow OOM Don't change the start directory with `-p :build-logic` which makes Gradle look for `build-logic/gradle.properties` file that does not exist. Therefore, the heap size was configured with default values (`-Xmx512m`) which is definitely not enough for our linting. Fixes #1769 --- .github/workflows/Build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Build.yaml b/.github/workflows/Build.yaml index e090e2155..cb7148ce7 100644 --- a/.github/workflows/Build.yaml +++ b/.github/workflows/Build.yaml @@ -52,7 +52,7 @@ jobs: run: yes | sdkmanager --licenses || true - name: Check build-logic - run: ./gradlew check -p build-logic + run: ./gradlew :build-logic:convention:check - name: Check spotless run: ./gradlew spotlessCheck --init-script gradle/init.gradle.kts --no-configuration-cache