Remove CODEOWNERS file #274
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-ignore: | |
| - '**' | |
| paths-ignore: | |
| - '**/*.md' | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| configure-kotlin-versions: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| kotlin-versions: ${{ steps.kotlin-versions.outputs.matrix }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - id: kotlin-versions | |
| uses: ./.github/actions/kotlin-versions | |
| # with: | |
| # preview-versions: 2.3.20-RC, 2.4.0-Beta1 | |
| # preview-versions: 2.3.20 | |
| test: | |
| needs: configure-kotlin-versions | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 25 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| kotlin-version: ${{ fromJSON(needs.configure-kotlin-versions.outputs.kotlin-versions) }} | |
| name: test (Kotlin ${{ matrix.kotlin-version }}) | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup | |
| uses: ./.github/actions/setup-action | |
| with: | |
| gradle-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }} | |
| - name: Test | |
| run: ./gradlew test --stacktrace --show-version --continue -Pkotlin.version=${{ matrix.kotlin-version }} | |
| - name: Upload Test Results | |
| uses: actions/upload-artifact@v6 | |
| if: ${{ failure() }} | |
| with: | |
| name: test-results-${{ github.job }}-kotlin-${{ matrix.kotlin-version }} | |
| path: ./**/build/reports/ | |
| binary-compatibility-check: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 25 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup | |
| uses: ./.github/actions/setup-action | |
| with: | |
| gradle-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }} | |
| - name: API check | |
| run: ./gradlew apiCheck --stacktrace --show-version --continue | |
| ktfmt: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 25 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup | |
| uses: ./.github/actions/setup-action | |
| with: | |
| gradle-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }} | |
| - name: ktfmt | |
| run: ./gradlew ktfmtCheck --stacktrace --show-version --continue | |
| publish-maven-local: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 25 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup | |
| uses: ./.github/actions/setup-action | |
| with: | |
| gradle-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }} | |
| - name: Publish to Maven Local | |
| run: | | |
| ./gradlew publishToMavenLocal --stacktrace --show-version --no-configuration-cache | |
| ./gradlew -p gradle-plugin publishToMavenLocal --stacktrace --show-version --no-configuration-cache | |
| build-logic: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 25 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup | |
| uses: ./.github/actions/setup-action | |
| with: | |
| gradle-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }} | |
| - name: Run release task | |
| run: ./gradlew -p build-logic release --stacktrace --show-version --continue | |
| - name: Upload Test Results | |
| uses: actions/upload-artifact@v6 | |
| if: ${{ failure() }} | |
| with: | |
| name: test-results-${{ github.job }} | |
| path: ./**/build/reports/ | |
| gradle-plugin: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 25 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup | |
| uses: ./.github/actions/setup-action | |
| with: | |
| gradle-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }} | |
| - name: Run release task | |
| run: ./gradlew -p gradle-plugin release --stacktrace --show-version --continue | |
| - name: Upload Test Results | |
| uses: actions/upload-artifact@v6 | |
| if: ${{ failure() }} | |
| with: | |
| name: test-results-${{ github.job }} | |
| path: ./**/build/reports/ |