Update dependency org.assertj:assertj-core to v3.27.7 #236
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Diffuse | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| - main | |
| - trunk | |
| - develop | |
| - maine | |
| - mane | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} | |
| jobs: | |
| run-diffuse: | |
| env: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: 24 | |
| - name: Write Gradle build properties to `~/.gradle/gradle.properties` | |
| run: | | |
| mkdir -p ~/.gradle | |
| printf "org.gradle.jvmargs=-Xmx3G -XX:+UseParallelGC\n" >> ~/.gradle/gradle.properties | |
| printf "org.gradle.vfs.watch=false\n" >> ~/.gradle/gradle.properties | |
| printf "org.gradle.parallel=false\n" >> ~/.gradle/gradle.properties | |
| shell: bash | |
| - uses: gradle/actions/setup-gradle@v5 | |
| - run: ./gradlew assembleRelease | |
| - uses: actions/cache@v5 | |
| name: Download base | |
| with: | |
| path: | | |
| diffuse-source-file-release | |
| key: diffuse-${{ github.event.pull_request.base.sha }} | |
| restore-keys: diffuse-${{ github.event.pull_request.base.sha }} | |
| - id: diffuse | |
| uses: usefulness/diffuse-action@v1 | |
| with: | |
| old-file-path: diffuse-source-file-release | |
| new-file-path: rootbeer-core/build/outputs/aar/rootbeer-core-release.aar | |
| - uses: peter-evans/find-comment@v4 | |
| id: find_comment | |
| with: | |
| issue-number: ${{ github.event.pull_request.number }} | |
| body-includes: Diffuse output | |
| - uses: peter-evans/create-or-update-comment@v5 | |
| if: ${{ steps.diffuse.outputs.diff-gh-comment != null || steps.find_comment.outputs.comment-id != null }} | |
| with: | |
| body: | | |
| ### Aar size: | |
| Aar size change: ${{ steps.diffuse.outputs.size-diff-comment_style_1 }} | |
| ### Diffuse output: | |
| ${{ steps.diffuse.outputs.diff-gh-comment }} | |
| edit-mode: replace | |
| comment-id: ${{ steps.find_comment.outputs.comment-id }} | |
| issue-number: ${{ github.event.pull_request.number }} | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - uses: actions/upload-artifact@v6 | |
| with: | |
| name: diffuse-output | |
| path: ${{ steps.diffuse.outputs.diff-file }} |