Article summary - OpenAI Integration #469
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR Checks | |
on: | |
pull_request: | |
jobs: | |
# this job builds and uploads the apk | |
build_the_apk: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: perform the checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
# Verify the SHA-sum | |
- name: validate gradle wrapper | |
uses: gradle/wrapper-validation-action@v1 | |
- name: setup JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
# This initializes gradle and sets up caching. Default version is the wrapper version. | |
- name: gradle build | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: assemble bundle packageDebugAndroidTest :app:lint test | |
# Lint | |
ktlint: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: perform the checkout | |
uses: actions/checkout@v3 | |
- name: setup JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: ktlint check | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: ktlintCheck |