diff --git a/.github/workflows/build_pull_request.yml b/.github/workflows/build_pull_request.yml index 6ba66a5e7..56ac46c79 100644 --- a/.github/workflows/build_pull_request.yml +++ b/.github/workflows/build_pull_request.yml @@ -23,10 +23,10 @@ jobs: uses: actions/checkout@v4 - name: Validate Gradle Wrapper - uses: gradle/wrapper-validation-action@v1 + uses: gradle/wrapper-validation-action@v2 - name: Dependency Review - uses: actions/dependency-review-action@v3 + uses: actions/dependency-review-action@v4 - name: Set up JDK uses: actions/setup-java@v4 @@ -34,7 +34,8 @@ jobs: java-version: 17 distribution: adopt + - name: Set up gradle + uses: gradle/actions/setup-gradle@v3 + - name: Build app and run unit tests - uses: gradle/gradle-command-action@v2 - with: - arguments: detekt assembleStandardRelease testReleaseUnitTest + run: ./gradlew detekt assembleStandardRelease testReleaseUnitTest diff --git a/.github/workflows/build_push.yml b/.github/workflows/build_push.yml index ba6b8638d..0f400fbbf 100644 --- a/.github/workflows/build_push.yml +++ b/.github/workflows/build_push.yml @@ -20,7 +20,7 @@ jobs: uses: actions/checkout@v4 - name: Validate Gradle Wrapper - uses: gradle/wrapper-validation-action@v1 + uses: gradle/wrapper-validation-action@v2 - name: Setup Android SDK run: | @@ -32,10 +32,11 @@ jobs: java-version: 17 distribution: adopt + - name: Set up gradle + uses: gradle/actions/setup-gradle@v3 + - name: Build app and run unit tests - uses: gradle/gradle-command-action@v2 - with: - arguments: detekt assembleStandardRelease testReleaseUnitTest + run: ./gradlew detekt assembleStandardRelease testReleaseUnitTest # Sign APK and create release for tags diff --git a/.github/workflows/issue_moderator.yml b/.github/workflows/issue_moderator.yml index 6a069e5c4..c0859d10e 100644 --- a/.github/workflows/issue_moderator.yml +++ b/.github/workflows/issue_moderator.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Moderate issues - uses: tachiyomiorg/issue-moderator-action@v2 + uses: tachiyomiorg/issue-moderator-action@v2.6.0 with: repo-token: ${{ secrets.GITHUB_TOKEN }} duplicate-label: Duplicate