From d5f08ef710141695a833e5f33580769383d03604 Mon Sep 17 00:00:00 2001 From: usbharu <64310155+usbharu@users.noreply.github.com> Date: Tue, 13 Aug 2024 20:11:00 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20ci=E3=82=92=E6=94=B9=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pull-request-merge-check.yml | 10 +++++++--- gradle.properties | 2 +- hideout-core/gradlew | 0 3 files changed, 8 insertions(+), 4 deletions(-) mode change 100644 => 100755 hideout-core/gradlew diff --git a/.github/workflows/pull-request-merge-check.yml b/.github/workflows/pull-request-merge-check.yml index 71055387..67ad236a 100644 --- a/.github/workflows/pull-request-merge-check.yml +++ b/.github/workflows/pull-request-merge-check.yml @@ -46,7 +46,7 @@ jobs: gradle-home-cache-cleanup: true - name: Build - run: ./gradlew :hideout-core:classes + run: ./hideout-core/gradlew :hideout-core:classes unit-test: name: Unit Test @@ -69,7 +69,7 @@ jobs: gradle-home-cache-cleanup: true - name: Unit Test - run: ./gradlew :hideout-core:koverXmlReport + run: ./hideout-core/gradlew :hideout-core:koverXmlReport - name: Add coverage report to PR if: always() @@ -94,9 +94,13 @@ jobs: name: Lint needs: [ setup ] runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Checkout uses: actions/checkout@v4 + with: + ref: ${{ github.head_ref }} - name: Set up JDK 21 uses: actions/setup-java@v4 @@ -111,7 +115,7 @@ jobs: gradle-home-cache-cleanup: true - name: Build with Gradle - run: ./gradlew :hideout-core:detektMain + run: ./hideout-core/gradlew :hideout-core:detektMain - name: Auto Commit if: ${{ always() }} diff --git a/gradle.properties b/gradle.properties index 29326c5e..936dc96e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ org.gradle.parallel=true org.gradle.configureondemand=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 \ No newline at end of file +org.gradle.jvmargs=-Xmx4096m -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC --add-opens=java.base/java.util.concurrent.locks=ALL-UNNAMED \ No newline at end of file diff --git a/hideout-core/gradlew b/hideout-core/gradlew old mode 100644 new mode 100755