Update gradle/actions action to v6 #742
This file contains hidden or 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: | |
| check-links: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Run linkspector | |
| uses: umbrelladocs/action-linkspector@v1 | |
| with: | |
| reporter: github-pr-check | |
| fail_on_error: true | |
| filter_mode: nofilter | |
| fail_level: any | |
| verify-abi: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: gradle/actions/setup-gradle@v6 | |
| - name: Check ABI | |
| run: ./gradlew checkAbi | |
| run-jvm-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: 17 | |
| - uses: gradle/actions/setup-gradle@v6 | |
| - name: Run JVM tests | |
| run: ./gradlew tiamatJvmTests | |
| verify-android-jvm-wasm: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: 17 | |
| - uses: gradle/actions/setup-gradle@v6 | |
| - name: Run static analysis (detekt, lint, etc.) | |
| run: ./gradlew runStaticAnalysis | |
| - name: Build Android target | |
| run: ./gradlew sample:app-android:assembleDebug | |
| - name: Build Jvm target | |
| run: ./gradlew sample:app-jvm:packageDistributionForCurrentOS | |
| - name: Build Web target | |
| run: ./gradlew sample:app-wasm:wasmJsBrowserDistribution | |
| verify-ios: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: 17 | |
| - name: Set up Xcode | |
| uses: maxim-lobanov/setup-xcode@v1 | |
| with: | |
| xcode-version: 16.4.0 | |
| - name: Build iOS App | |
| run: xcodebuild -project sample/app-ios/Tiamat.xcodeproj -scheme iosApp -configuration Debug -sdk iphonesimulator build |