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