Skip to content

Update dependency androidx.paging:paging-compose to v3.3.2 #1163

Update dependency androidx.paging:paging-compose to v3.3.2

Update dependency androidx.paging:paging-compose to v3.3.2 #1163

Workflow file for this run

name: Cinemax CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
validation:
name: Validation
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v3
analyze-code:
needs: validation
name: Analyze code
runs-on: ubuntu-latest
env:
CINEMAX_API_KEY: ${{ secrets.CINEMAX_API_KEY }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17
cache: gradle
- name: Run spotless
run: ./gradlew spotlessCheck
- name: Run detekt
run: ./gradlew detekt
- name: Run lint
run: ./gradlew :app:lint
tests:
needs: analyze-code
name: Tests
runs-on: ubuntu-latest
env:
CINEMAX_API_KEY: ${{ secrets.CINEMAX_API_KEY }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17
cache: gradle
- name: Run tests
run: ./gradlew test
build-debug:
needs: tests
name: Build debug
runs-on: ubuntu-latest
env:
CINEMAX_API_KEY: ${{ secrets.CINEMAX_API_KEY }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17
cache: gradle
- name: Assemble debug
run: ./gradlew :app:assembleDebug
build-release:
needs: tests
name: Build release
runs-on: ubuntu-latest
env:
CINEMAX_API_KEY: ${{ secrets.CINEMAX_API_KEY }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17
cache: gradle
- name: Assemble release
run: ./gradlew :app:assembleRelease