Update library versions #878
Workflow file for this run
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: Comments Android lint warnings on pull request | |
on: pull_request | |
jobs: | |
lint: | |
name: Comments lint result on PR | |
runs-on: macos-latest | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: zulu | |
java-version: 11 | |
cache: gradle | |
- name: Run detekt | |
run: ./gradlew :app:detekt | |
continue-on-error: true | |
- name: Run Android Lint | |
run: ./gradlew :app:lintAnalyticsDebug | |
- name: Run Android Lint Reporter to report Lint and Detekt result to PR | |
env: | |
PR_NUMBER: ${{ github.event.number }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
./gradlew report -PgithubPullRequestId=$PR_NUMBER -PgithubToken=$GITHUB_TOKEN | |