diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5643391..ebb3df6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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" \ No newline at end of file + run: ./gradlew build -x test --max-workers=2 --no-daemon -Dorg.gradle.jvmargs="-Xmx1024m" \ No newline at end of file