From 4bb2f818a4d2aa7c9fa8cf12d8c01d93d6b556f3 Mon Sep 17 00:00:00 2001 From: Denis Lugowski Date: Thu, 20 Nov 2025 09:02:43 +0100 Subject: [PATCH] fix(pipeline): Remove --no-daemon, specify gradle workspace --- .gitea/workflows/pipeline.yaml | 11 ++++++----- legalconsenthub-backend/README.md | 2 +- legalconsenthub/README.md | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/pipeline.yaml b/.gitea/workflows/pipeline.yaml index 268e870..bf38b47 100644 --- a/.gitea/workflows/pipeline.yaml +++ b/.gitea/workflows/pipeline.yaml @@ -120,6 +120,7 @@ jobs: runs-on: ubuntu-latest env: RUNNER_TOOL_CACHE: /toolcache + GRADLE_USER_HOME: ${{ gitea.workspace }}/.gradle defaults: run: @@ -139,8 +140,8 @@ jobs: uses: actions/cache@v4 with: path: | - ~/.gradle/caches - ~/.gradle/wrapper + ${{ gitea.workspace }}/.gradle/caches + ${{ gitea.workspace }}/.gradle/wrapper legalconsenthub-backend/.gradle key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} restore-keys: | @@ -150,13 +151,13 @@ jobs: run: chmod +x gradlew - name: Build application - run: ./gradlew build -x test --no-daemon + run: ./gradlew build -x test - name: Run ktlint check - run: ./gradlew ktlintCheck --no-daemon + run: ./gradlew ktlintCheck - name: Run tests - run: ./gradlew test --no-daemon + run: ./gradlew test env: SPRING_PROFILES_ACTIVE: testcontainers diff --git a/legalconsenthub-backend/README.md b/legalconsenthub-backend/README.md index b6113c2..2f799db 100644 --- a/legalconsenthub-backend/README.md +++ b/legalconsenthub-backend/README.md @@ -2,4 +2,4 @@ ## Pipeline Triggering -Trigger count: 10 +Trigger count: 11 diff --git a/legalconsenthub/README.md b/legalconsenthub/README.md index e92dc64..8bdcd42 100644 --- a/legalconsenthub/README.md +++ b/legalconsenthub/README.md @@ -2,4 +2,4 @@ ## Pipeline Triggering -Trigger count: 10 +Trigger count: 11