Skip to content

fix(deps): update dependency io.gitlab.arturbosch.detekt:detekt-gradle-plugin to v1.23.7 #859

fix(deps): update dependency io.gitlab.arturbosch.detekt:detekt-gradle-plugin to v1.23.7

fix(deps): update dependency io.gitlab.arturbosch.detekt:detekt-gradle-plugin to v1.23.7 #859

Workflow file for this run

name: Generate dependency diff
on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
generate-diff-jvm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Write Gradle build properties to `~/.gradle/gradle.properties`
run: |
mkdir -p ~/.gradle
printf "org.gradle.jvmargs=-Xmx3G -XX:+UseParallelGC\n" >> ~/.gradle/gradle.properties
shell: bash
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- uses: gradle/actions/setup-gradle@v4
- run: ./gradlew assemble -m
- id: dependency-diff-jvm
name: Generate dependency diff
uses: usefulness/dependency-tree-diff-action@v2
with:
configuration: 'runtimeClasspath'
project: 'jvm'
- uses: peter-evans/find-comment@v3
id: find_comment
with:
issue-number: ${{ github.event.pull_request.number }}
body-includes: Dependency diff (JVM)
- uses: peter-evans/create-or-update-comment@v4
if: ${{ steps.dependency-diff-jvm.outputs.text-diff != null || steps.find_comment.outputs.comment-id != null }}
with:
body: |
Dependency diff (JVM)
```diff
${{ steps.dependency-diff-jvm.outputs.text-diff }}
```
edit-mode: replace
comment-id: ${{ steps.find_comment.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
token: ${{ secrets.GITHUB_TOKEN }}
generate-diff-android:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Write Gradle build properties to `~/.gradle/gradle.properties`
run: |
mkdir -p ~/.gradle
printf "org.gradle.jvmargs=-Xmx3G -XX:+UseParallelGC\n" >> ~/.gradle/gradle.properties
shell: bash
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- uses: gradle/actions/setup-gradle@v4
- run: ./gradlew assemble -m
- id: dependency-diff-android
name: Generate dependency diff
uses: usefulness/dependency-tree-diff-action@v2
with:
configuration: 'runtimeClasspath'
project: 'android'
- uses: peter-evans/find-comment@v3
id: find_comment
with:
issue-number: ${{ github.event.pull_request.number }}
body-includes: Dependency diff (Android)
- uses: peter-evans/create-or-update-comment@v4
if: ${{ steps.dependency-diff-android.outputs.text-diff != null || steps.find_comment.outputs.comment-id != null }}
with:
body: |
Dependency diff (Android):
```diff
${{ steps.dependency-diff-android.outputs.text-diff }}
```
edit-mode: replace
comment-id: ${{ steps.find_comment.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
token: ${{ secrets.GITHUB_TOKEN }}