Skip to content

docs: migrate README to th ecurrent REPO #5

docs: migrate README to th ecurrent REPO

docs: migrate README to th ecurrent REPO #5

Workflow file for this run

name: Lint
on:
pull_request:
push:
branches:
- dev
- main
permissions:
contents: read
concurrency:
group: lint-${{ github.ref }}
cancel-in-progress: true
jobs:
kotlin:
name: Detekt and ktlint
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Check out repository
uses: actions/checkout@v7
with:
persist-credentials: false
# required for gradle 9.5.0 and android gradle plugin 9.3.0
- name: Set up Java
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: "17"
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v6
with:
cache-provider: basic
- name: Run Detekt and ktlint
run: >-
./gradlew
ktlintCheck
:shared:detektMainAndroid
:shared:detektHostTestAndroid
:androidApp:detektDebug
--no-daemon
swift:
name: SwiftLint
runs-on: macos-latest
timeout-minutes: 10
steps:
- name: Check out repository
uses: actions/checkout@v7
with:
persist-credentials: false
- name: Install SwiftLint
run: brew install swiftlint
- name: Run SwiftLint
run: swiftlint lint --config .swiftlint.yml --no-cache iosApp/iosApp