diff --git a/.github/workflows/popcorn.yaml b/.github/workflows/popcorn.yaml index dada916..f1e465e 100644 --- a/.github/workflows/popcorn.yaml +++ b/.github/workflows/popcorn.yaml @@ -6,7 +6,7 @@ on: paths: - "**/build-logic/**" - "**.kts" - - "**/popcorn.yml" + - "**/libs.versions.toml" jobs: popcorn: @@ -21,28 +21,5 @@ jobs: - name: Grant execute permission for gradlew run: chmod +x gradlew - - name: Run popcorn - id: module_analysis - run: ./gradlew popcornParent -PerrorReportEnabled - - - name: Read Markdown file - if: failure() - id: read_md - run: | - content=$(find . -type f -regex ".*/build/reports/popcornguineapig/errorReport.md" -exec cat {} +) - echo "content<> $GITHUB_OUTPUT - echo "$content" >> $GITHUB_OUTPUT - echo "EOF" >> $GITHUB_OUTPUT - - - name: Post comment with module analysis - if: failure() - uses: thollander/actions-comment-pull-request@v3 - with: - comment-tag: module-analysis-report - message: ${{ steps.read_md.outputs.content }} - - - name: Delete comment with module analysis - uses: thollander/actions-comment-pull-request@v3 - with: - comment-tag: module-analysis-report - mode: delete + - name: Run Popcorn + uses: CodandoTV/popcorn-guineapig/.github/actions/popcorn@main diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 86b8306..8a271f6 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -46,7 +46,7 @@ appcompat = "1.7.0" material = "1.12.0" accompanist = "0.31.3-beta" activity-compose = "1.8.2" -popcorngp = "3.1.2" +popcorngp = "3.2.0" work-runtime = "2.10.1" kmpnotifier = "1.5.1"