Update plugin detekt to v1.23.1 #97
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: Build & Ship | |
on: | |
pull_request: | |
merge_group: | |
jobs: | |
ui-tests: | |
runs-on: macos-latest | |
timeout-minutes: 20 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
distribution: 'adopt' | |
cache: 'gradle' | |
- name: Run instrumented tests | |
uses: ReactiveCircus/android-emulator-runner@v2.28.0 | |
with: | |
api-level: 29 | |
script: ./gradlew connectedCheck | |
unit-tests-detekt-build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set Java 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
- name: Run Detekt | |
uses: eskatos/gradle-command-action@v2 | |
with: | |
arguments: detekt | |
- name: Run Unit Tests | |
run: ./gradlew test --stacktrace | |
- name: Assemble Debug | |
uses: eskatos/gradle-command-action@v2 | |
with: | |
arguments: assembleDebug |