Skip to content

Merge pull request #17 from GetStream/dependabot/gradle/androidxLifec… #43

Merge pull request #17 from GetStream/dependabot/gradle/androidxLifec…

Merge pull request #17 from GetStream/dependabot/gradle/androidxLifec… #43

Workflow file for this run

name: Android CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: Spotless check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Setup JDK
uses: actions/[email protected]
with:
distribution: adopt
java-version: 17
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
validate-wrappers: true
gradle-home-cache-cleanup: true
- name: spotless
run: ./gradlew spotlessCheck --no-daemon --no-configuration-cache
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Setup JDK
uses: actions/[email protected]
with:
distribution: zulu
java-version: 17
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
validate-wrappers: true
gradle-home-cache-cleanup: true
- name: Make Gradle executable
run: chmod +x ./gradlew
- name: Build with Gradle
run: |
./gradlew --scan --stacktrace \
:app:assembleDebug