fix(pipeline): Remove --no-daemon, specify gradle workspace
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
|
||||
## Pipeline Triggering
|
||||
|
||||
Trigger count: 10
|
||||
Trigger count: 11
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
|
||||
## Pipeline Triggering
|
||||
|
||||
Trigger count: 10
|
||||
Trigger count: 11
|
||||
|
||||
Reference in New Issue
Block a user