fix(pipeline): Remove --no-daemon, specify gradle workspace
This commit is contained in:
@@ -120,6 +120,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
RUNNER_TOOL_CACHE: /toolcache
|
RUNNER_TOOL_CACHE: /toolcache
|
||||||
|
GRADLE_USER_HOME: ${{ gitea.workspace }}/.gradle
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
@@ -139,8 +140,8 @@ jobs:
|
|||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.gradle/caches
|
${{ gitea.workspace }}/.gradle/caches
|
||||||
~/.gradle/wrapper
|
${{ gitea.workspace }}/.gradle/wrapper
|
||||||
legalconsenthub-backend/.gradle
|
legalconsenthub-backend/.gradle
|
||||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
@@ -150,13 +151,13 @@ jobs:
|
|||||||
run: chmod +x gradlew
|
run: chmod +x gradlew
|
||||||
|
|
||||||
- name: Build application
|
- name: Build application
|
||||||
run: ./gradlew build -x test --no-daemon
|
run: ./gradlew build -x test
|
||||||
|
|
||||||
- name: Run ktlint check
|
- name: Run ktlint check
|
||||||
run: ./gradlew ktlintCheck --no-daemon
|
run: ./gradlew ktlintCheck
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: ./gradlew test --no-daemon
|
run: ./gradlew test
|
||||||
env:
|
env:
|
||||||
SPRING_PROFILES_ACTIVE: testcontainers
|
SPRING_PROFILES_ACTIVE: testcontainers
|
||||||
|
|
||||||
|
|||||||
@@ -2,4 +2,4 @@
|
|||||||
|
|
||||||
## Pipeline Triggering
|
## Pipeline Triggering
|
||||||
|
|
||||||
Trigger count: 10
|
Trigger count: 11
|
||||||
|
|||||||
@@ -2,4 +2,4 @@
|
|||||||
|
|
||||||
## Pipeline Triggering
|
## Pipeline Triggering
|
||||||
|
|
||||||
Trigger count: 10
|
Trigger count: 11
|
||||||
|
|||||||
Reference in New Issue
Block a user