fix(deps): update dependency com.google.android.material:material to v1.12.0 #570
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: Pre-Merge | |
on: | |
pull_request: | |
jobs: | |
assemble: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'adopt' | |
java-version: 17 | |
- name: setup gradle cache | |
uses: gradle/actions/setup-gradle@v3 | |
- name: run assemble | |
run: ./gradlew assemble | |
ktlint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'adopt' | |
java-version: 17 | |
- name: setup gradle cache | |
uses: gradle/actions/setup-gradle@v3 | |
- name: run ktlintCheck | |
run: ./gradlew ktlintCheck | |
analyze: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'adopt' | |
java-version: 17 | |
- name: setup gradle cache | |
uses: gradle/actions/setup-gradle@v3 | |
- name: run lintDebug | |
run: ./gradlew lintDebug | |
- name: upload lint results | |
uses: actions/upload-artifact@v3 | |
with: | |
name: lint | |
path: app/build/reports/ | |
- name: run detektCheck | |
run: ./gradlew detektCheck | |
- name: upload detekt results | |
uses: actions/upload-artifact@v3 | |
with: | |
name: detekt | |
path: build/reports/ | |
danger: | |
needs: [ analyze ] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 100 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '2.7' | |
bundler-cache: true | |
- name: download lint results | |
uses: actions/download-artifact@v3 | |
with: | |
name: lint | |
path: app/build/reports/ | |
- name: download detekt results | |
uses: actions/download-artifact@v3 | |
with: | |
name: detekt | |
path: build/reports/ | |
- name: danger | |
run: bundle exec danger | |
env: | |
DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }} |