Bump org.jetbrains.dokka from 1.9.20 to 2.0.0 #189
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: Verify PR | |
on: | |
pull_request: | |
types: [ opened, synchronize, reopened, ready_for_review ] | |
concurrency: | |
group: github-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
ktlint: | |
name: Run Kotlin lint | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.draft == false | |
permissions: | |
contents: write | |
pull-requests: write | |
discussions: write | |
repository-projects: write | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: ktlint | |
uses: ScaCap/action-ktlint@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
reporter: github-pr-review | |
fail_on_error: true | |
androidLint: | |
name: Run Android Lint | |
needs: [ ktlint ] | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.draft == false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Validate Gradle Wrapper | |
uses: gradle/actions/wrapper-validation@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: zulu | |
java-version: 17 | |
- name: Run Gradle | |
run: ./gradlew :komoju-android-sdk:lintDebug | |
swiftlint: | |
runs-on: ubuntu-latest | |
name: SwiftLint | |
if: github.event.pull_request.draft == false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: swiftLint on ios sdk | |
uses: norio-nomura/[email protected] | |
with: | |
args: --strict | |
env: | |
WORKING_DIRECTORY: komoju-ios-sdk |