Skip to content

refactor: JsonCodec fail on unknown & missing property (#145) #187

refactor: JsonCodec fail on unknown & missing property (#145)

refactor: JsonCodec fail on unknown & missing property (#145) #187

Workflow file for this run

name: ✅ Tester
on:
push:
branches:
- 'main'
pull_request:
branches:
- 'main'
jobs:
build:
name: sonarcloud report
runs-on: ubuntu-latest
strategy:
matrix:
kotlin-version: [ 1.9.22 ]
java-version: [ 17 ]
steps:
- name: checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: true
- name: Set up JDK 17 and Kotlin 1.9.22
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: ${{ matrix.java-version }}
kotlin-version: ${{ matrix.kotlin-version }}
- name: Cache Gradle packages
uses: actions/cache@v3
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- name: Cache SonarCloud packages
uses: actions/cache@v3
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Build and analyze
run: ./gradlew clean test sonar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}