CI: update workflow dependencies #270
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: CI | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
Tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout project sources | |
uses: actions/checkout@v3 | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Set up JDK 12 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 12 | |
distribution: coretto | |
- name: Run Lint | |
run: ./gradlew lintDebug | |
- name: Run Ktlint | |
run: ./gradlew ktlintCheck | |
- name: Run build debug | |
run: ./gradlew assembleDebug | |
- name: Run Tests | |
run: ./gradlew :Provider:testDebugUnitTest --no-daemon --stacktrace | |
- name: Run build release | |
run: ./gradlew assembleRelease |