Build(deps): Bump com.android.tools.build:gradle from 8.5.0 to 8.7.2 #946
This file contains 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: Analysis | |
# Declare default permissions as read only. | |
permissions: read-all | |
on: [push, pull_request] | |
jobs: | |
detekt: | |
name: detekt | |
runs-on: ubuntu-latest | |
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
steps: | |
- uses: actions/checkout@v4 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v4.5.0 | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
- name: Run detekt | |
run: bash ./gradlew detekt | |
spotless: | |
name: Spotless (ktlint) | |
runs-on: ubuntu-latest | |
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
steps: | |
- uses: actions/checkout@v4 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v4.5.0 | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
- name: Run spotless | |
run: bash ./gradlew spotlessCheck |