Skip to content

Update dependency org.jetbrains.kotlin:kotlin-compiler to v1.9.0 #205

Update dependency org.jetbrains.kotlin:kotlin-compiler to v1.9.0

Update dependency org.jetbrains.kotlin:kotlin-compiler to v1.9.0 #205

Workflow file for this run

name: run checks
on:
push:
branches: [ main ] # Just in case main was not up-to-date while merging PR
pull_request:
types: [ opened, synchronize ]
jobs:
run:
continue-on-error: true
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: checkout
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'zulu'
- uses: actions/cache@v3
with:
path: ~/.gradle
key: gradle-${{ hashFiles('gradle-checksums.txt') }}-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
restore-keys: |
gradle-${{ hashFiles('gradle-checksums.txt') }}-
- name: Verify project consistency
run: cd .test && ./gradlew test
- name: spotless check (test project)
run: cd .test && ./gradlew spotlessCheck
- name: spotless check (root project)
run: ./gradlew spotlessCheck
- name: Generate tests for every solution
run: cd .test && ./gradlew generateTests
- name: Navigate to root project
run: cd .test
- name: Run generated solution tests
run: ./gradlew test --tests "generated.com.igorwojda.*"
- uses: actions/upload-artifact@v3
with:
name: unit-test-report
path: ./**/build/reports/tests/