Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.6.0 #321
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
name: test-on-${{matrix.java}} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [ 11, 17 ] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.java }} | |
- name: Cache Gradle packages | |
uses: actions/cache@v3 | |
with: | |
path: ~/.gradle/caches | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts') }} | |
restore-keys: ${{ runner.os }}-gradle | |
- name: Build with Gradle | |
continue-on-error: true | |
env: | |
CI: true | |
run: ./gradlew build | |
- uses: codecov/codecov-action@v3 | |
with: | |
files: core/build/reports/kover/report.xml,rest/build/reports/kover/report.xml | |
- name: Test Report ${{matrix.java}} | |
uses: ScaCap/action-surefire-report@v1.7.2 | |
with: | |
check_name: Test Report ${{matrix.java}} | |
report_paths: '**/build/test-results/test/TEST-*.xml' | |
fail_on_test_failures: true | |
fail_if_no_tests: true | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: upload artifacts | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: build-reports-jdk-${{matrix.java}} | |
path: "**/build/reports" |