chore: ciを改善

This commit is contained in:
usbharu 2024-08-13 20:11:00 +09:00
parent 17bf2aade6
commit d5f08ef710
Signed by: usbharu
GPG Key ID: 6556747BF94EEBC8
3 changed files with 8 additions and 4 deletions

View File

@ -46,7 +46,7 @@ jobs:
gradle-home-cache-cleanup: true gradle-home-cache-cleanup: true
- name: Build - name: Build
run: ./gradlew :hideout-core:classes run: ./hideout-core/gradlew :hideout-core:classes
unit-test: unit-test:
name: Unit Test name: Unit Test
@ -69,7 +69,7 @@ jobs:
gradle-home-cache-cleanup: true gradle-home-cache-cleanup: true
- name: Unit Test - name: Unit Test
run: ./gradlew :hideout-core:koverXmlReport run: ./hideout-core/gradlew :hideout-core:koverXmlReport
- name: Add coverage report to PR - name: Add coverage report to PR
if: always() if: always()
@ -94,9 +94,13 @@ jobs:
name: Lint name: Lint
needs: [ setup ] needs: [ setup ]
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
contents: write
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Set up JDK 21 - name: Set up JDK 21
uses: actions/setup-java@v4 uses: actions/setup-java@v4
@ -111,7 +115,7 @@ jobs:
gradle-home-cache-cleanup: true gradle-home-cache-cleanup: true
- name: Build with Gradle - name: Build with Gradle
run: ./gradlew :hideout-core:detektMain run: ./hideout-core/gradlew :hideout-core:detektMain
- name: Auto Commit - name: Auto Commit
if: ${{ always() }} if: ${{ always() }}

View File

@ -1,4 +1,4 @@
org.gradle.parallel=true org.gradle.parallel=true
org.gradle.configureondemand=true org.gradle.configureondemand=true
org.gradle.caching=true org.gradle.caching=true
org.gradle.jvmargs=-Xmx4096m -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC --add-opens=java.base/java.util.concurrent.locks=ALL-UNNAMED -XX:TieredStopAtLevel=1 -noverify org.gradle.jvmargs=-Xmx4096m -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC --add-opens=java.base/java.util.concurrent.locks=ALL-UNNAMED

0
hideout-core/gradlew vendored Normal file → Executable file
View File