Skip to content

Bump co.touchlab:kermit from 2.0.4 to 2.0.5 (#5) #26

Bump co.touchlab:kermit from 2.0.4 to 2.0.5 (#5)

Bump co.touchlab:kermit from 2.0.4 to 2.0.5 (#5) #26

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:
check-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
build-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
build-android-app:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- run: ./gradlew packageDebug packageRelease
- uses: actions/upload-artifact@v4
with:
if-no-files-found: error
name: demo-app-debug
path: demo-app/build/outputs/apk/debug/demo-app-debug.apk
- uses: actions/upload-artifact@v4
with:
if-no-files-found: error
name: demo-app-release-unsigned
path: demo-app/build/outputs/apk/release/demo-app-release-unsigned.apk
publish-snapshot:
needs: [test-android, test-ios]
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
runs-on: macos-latest
permissions:
packages: write
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- run: ./gradlew publishAllPublicationsToGitHubPackagesRepository
env:
ORG_GRADLE_PROJECT_githubToken: ${{ secrets.GITHUB_TOKEN }}
ORG_GRADLE_PROJECT_githubUser: ${{ github.actor }}
all-good:
needs: [check-format, lint-android, test-android, test-ios, build-docs, build-android-app]
runs-on: ubuntu-latest
steps:
- run: echo "All checks passed!"