Update detekt to v1.23.8 (#130) #184
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 | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
verify-jvm: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 17 | |
- uses: gradle/actions/setup-gradle@v4 | |
- name: Check public API changes | |
run: ./gradlew apiCheck | |
- name: Execute Gradle build | |
run: ./gradlew detekt | |
- name: Build Android target | |
run: ./gradlew example:app:composeApp:assembleDebug | |
- name: Build Desktop target | |
run: ./gradlew example:app:composeApp:package | |
- name: Build Web target | |
run: ./gradlew example:app:composeApp:wasmJsBrowserDistribution | |
verify-ios: | |
runs-on: macos-15 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Xcode | |
uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: 16.2.0 | |
- name: Build app | |
run: xcodebuild -project example/app/iosApp/iosApp.xcodeproj -scheme iosApp -sdk iphonesimulator build |