Update junit-framework monorepo to v5.14.3 #727
Workflow file for this run
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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| tags: | |
| - '*.*.*' | |
| pull_request: | |
| jobs: | |
| danger-pr: | |
| runs-on: ubuntu-latest | |
| if: ${{ github.event_name == 'pull_request' }} | |
| name: "danger-pr" | |
| container: | |
| image: docker://ghcr.io/danger/danger-kotlin:1.3.1 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Run Danger | |
| run: danger-kotlin ci --failOnErrors --no-publish-check | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| build: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Install JDK | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'zulu' | |
| java-version: 17 | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v4 | |
| - name: Build and run checks | |
| id: gradle-check | |
| run: | | |
| ./gradlew --quiet --continue --no-configuration-cache \ | |
| check | |
| - name: Build sample app | |
| id: gradle-sample-build | |
| run: | | |
| ./gradlew --quiet --continue --no-configuration-cache \ | |
| :sample:androidApp:build \ | |
| :sample:desktopApp:build \ | |
| :sample:shared:iosSimulatorArm64Test | |
| - name: (Fail-only) Upload reports | |
| if: failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: reports-build | |
| path: | | |
| **/build/reports/** | |
| publish: | |
| runs-on: macos-latest | |
| timeout-minutes: 60 | |
| needs: [ build ] | |
| if: github.repository == 'r0adkll/kimchi' && github.ref == 'refs/heads/main' | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Install JDK | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'zulu' | |
| java-version: 17 | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v4 | |
| - name: Publish snapshot (main branch only) | |
| run: ./gradlew publishToMavenCentral --no-configuration-cache | |
| env: | |
| ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPEUSERNAME }} | |
| ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPEPASSWORD }} | |
| create-release: | |
| runs-on: ubuntu-latest | |
| needs: [ build ] | |
| if: github.repository == 'r0adkll/kimchi' && contains(github.ref, 'refs/tags/') | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Extract release notes | |
| id: extract-release-notes | |
| uses: ffurrer2/extract-release-notes@v2 | |
| - name: Create release | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| gh release create ${{ github.ref_name }} \ | |
| --title ${{ github.ref_name }} \ | |
| --notes '${{ steps.extract-release-notes.outputs.release_notes }}' | |