fix(pipeline): Remove --no-daemon, specify gradle workspace

This commit is contained in:
2025-11-20 09:02:43 +01:00
parent f440ff6fb2
commit 4bb2f818a4
3 changed files with 8 additions and 7 deletions

View File

@@ -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

View File

@@ -2,4 +2,4 @@
## Pipeline Triggering
Trigger count: 10
Trigger count: 11

View File

@@ -2,4 +2,4 @@
## Pipeline Triggering
Trigger count: 10
Trigger count: 11