Skip to content

CI tweaks

CI tweaks #16

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- run: ./gradlew spotlessCheck
lint-android:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- run: ./gradlew lint
test-android:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- name: Run with AVD ./gradlew '${{ matrix.task }}'
uses: ./.github/actions/run-with-avd
with:
api-level: 35
script: ./gradlew connectedDebugAndroidTest
test-ios:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- run: ./gradlew iosSimulatorArm64Test
docs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- run: ./gradlew dokkaHtmlMultiModule
- uses: actions/upload-pages-artifact@v3
with:
path: build/dokka/htmlMultiModule