Skip to content

CI: update workflow dependencies #270

CI: update workflow dependencies

CI: update workflow dependencies #270

Workflow file for this run

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