fix(core): oneOf wrapper (externally-tagged) unions generate an internally-tagged model that cannot deserialize the wire payload #383
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: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| workflow_call: | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: 21 | |
| - uses: gradle/actions/setup-gradle@v4 | |
| - name: Run ktlint check | |
| run: ./gradlew ktlintCheck | |
| - name: Run tests with coverage | |
| run: ./gradlew core:koverXmlReport plugin:koverXmlReport | |
| - name: Upload coverage to Codecov | |
| if: github.event_name == 'pull_request' | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| files: core/build/reports/kover/report.xml,plugin/build/reports/kover/report.xml | |
| fail_ci_if_error: false | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| - name: Coverage PR comment | |
| if: github.event_name == 'pull_request' | |
| uses: madrapps/jacoco-report@v1.7.2 | |
| with: | |
| paths: core/build/reports/kover/report.xml | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| min-coverage-overall: 60 | |
| min-coverage-changed-files: 80 | |
| title: Coverage Report | |
| update-comment: true |