Skip to content

Merge pull request #106 from skydoves/dependabot/gradle/org.jetbrains… #221

Merge pull request #106 from skydoves/dependabot/gradle/org.jetbrains…

Merge pull request #106 from skydoves/dependabot/gradle/org.jetbrains… #221

Workflow file for this run

name: Android CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint:
name: Spotless Check
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
- name: Spotless
run: ./gradlew spotlessCheck
api_check:
name: API Check
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
- name: API Check
run: ./gradlew apiCheck
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Grant Execute Permission for gradlew
run: chmod +x gradlew
- name: Build With Gradle
run: |
./gradlew --scan --stacktrace \
assemble -x :benchmark:pixel6api31Setup -x :benchmark:pixel6api31NonMinifiedReleaseAndroidTest -x :benchmark:collectNonMinifiedReleaseBaselineProfile