chore(deps): bump io.mockk:mockk from 1.13.12 to 1.13.13 in /zeapp #752
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 | |
on: | |
pull_request: | |
paths-ignore: | |
- "**/README.md" | |
- "assets/**" | |
defaults: | |
run: | |
shell: bash | |
working-directory: zeapp | |
jobs: | |
build-debug: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout Repo" | |
uses: actions/checkout@v4 | |
- name: "Setup Java 17" | |
uses: actions/setup-java@v4 | |
with: | |
distribution: "temurin" | |
java-version: 17 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
- name: "Validate Gradle wrapper" | |
uses: gradle/actions/wrapper-validation@v4 | |
- name: "Assemble Debug" | |
run: ./gradlew :android:assembleDebug --no-daemon | |
- name: "Upload Debug APK to GitHub" | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Debug APK | |
path: zeapp/android/build/outputs/apk/debug/android-debug.apk | |
build-debug-windows: | |
runs-on: windows-latest | |
steps: | |
- name: "Checkout Repo" | |
uses: actions/checkout@v4 | |
- name: "Setup Java 17" | |
uses: actions/setup-java@v4 | |
with: | |
distribution: "temurin" | |
java-version: 17 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
- name: "Validate Gradle wrapper" | |
uses: gradle/actions/wrapper-validation@v4 | |
- name: "Assemble Debug" | |
run: ./gradlew :android:assembleDebug --no-daemon | |
# Not uploading the APK cause the other step will generate the same thing anyway | |
ktlint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout Repo" | |
uses: actions/checkout@v4 | |
- name: "Setup Java 17" | |
uses: actions/setup-java@v4 | |
with: | |
distribution: "temurin" | |
java-version: 17 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
- name: "Validate Gradle wrapper" | |
uses: gradle/actions/wrapper-validation@v4 | |
- name: "ktLint" | |
run: ./gradlew ktlintCheck --no-daemon | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout Repo" | |
uses: actions/checkout@v4 | |
- name: "Setup Java 17" | |
uses: actions/setup-java@v4 | |
with: | |
distribution: "temurin" | |
java-version: 17 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
- name: "Validate Gradle wrapper" | |
uses: gradle/actions/wrapper-validation@v4 | |
- name: "Lint" | |
run: ./gradlew lint --no-daemon | |
detekt: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout Repo" | |
uses: actions/checkout@v4 | |
- name: "Setup Java 17" | |
uses: actions/setup-java@v4 | |
with: | |
distribution: "temurin" | |
java-version: 17 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
- name: "Validate Gradle wrapper" | |
uses: gradle/actions/wrapper-validation@v4 | |
- name: "Detekt" | |
run: ./gradlew detekt | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout Repo" | |
uses: actions/checkout@v4 | |
- name: "Setup Java 17" | |
uses: actions/setup-java@v4 | |
with: | |
distribution: "temurin" | |
java-version: 17 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
- name: "Validate Gradle wrapper" | |
uses: gradle/actions/wrapper-validation@v4 | |
- name: "Test" | |
run: ./gradlew linuxTest | |
- name: "Android Unit Test" | |
run: ./gradlew :android:testDebugUnitTest |