feat!: Clean up logging #917
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: Codegen | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
codegen: | |
runs-on: ${{ matrix.os }} | |
name: Java ${{ matrix.java }} ${{ matrix.os }} | |
strategy: | |
matrix: | |
java: [17] | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: gradle/wrapper-validation-action@v2 | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: 'corretto' | |
- name: Log Kotlin version | |
run: | | |
which kotlin | |
kotlin -version | |
- name: Clean and Build | |
run: ./gradlew clean build -Plog-tests | |
- name: Ensure there are no changes after building (e.g. a test sdk) | |
run: | | |
git diff | |
test -z "$(git diff)" |