Skip to content

Update dependency org.jetbrains.kotlinx:kotlinx-datetime to v0.6.1 #1165

Update dependency org.jetbrains.kotlinx:kotlinx-datetime to v0.6.1

Update dependency org.jetbrains.kotlinx:kotlinx-datetime to v0.6.1 #1165

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