fix: update ci workflow triggers and disable daemon
Some checks failed
CI Pipeline / lint-and-test (push) Failing after 43s
CI Pipeline / lint-and-test (pull_request) Failing after 42s

This commit is contained in:
Oliver Wallisch 2026-09-16 11:25:24 +02:00
parent 4cc7af16b1
commit 7c21886bfa

View file

@ -2,7 +2,7 @@ name: CI Pipeline
on:
push:
branches: [ "main" ]
branches: [ "main", "feat/*" ]
pull_request:
branches: [ "main" ]
@ -12,10 +12,10 @@ jobs:
steps:
- name: Code auschecken
uses: https://github.com/actions/checkout@v4 # <-- Vollständige URL oder github/ Prefix
uses: https://github.com/actions/checkout@v4
- name: Java 21 einrichten
uses: https://github.com/actions/setup-java@v4 # <-- Vollständige URL oder github/ Prefix
uses: https://github.com/actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
@ -24,10 +24,10 @@ jobs:
run: chmod +x gradlew
- name: 1. Code-Style (Linter) prüfen
run: ./gradlew ktlintCheck
run: ./gradlew ktlintCheck --no-daemon
- name: 2. Tests ausführen
run: ./gradlew test
run: ./gradlew test --no-daemon
- name: 3. Backend bauen
run: ./gradlew build -x test --max-workers=2 -Dorg.gradle.jvmargs="-Xmx1024m"
run: ./gradlew build -x test --max-workers=2 --no-daemon -Dorg.gradle.jvmargs="-Xmx1024m"