[kyo-schema-json] use ByteSize for JSONL limits and buffers #6053
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: scalafmt | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| env: | |
| JAVA_OPTS: -Xms2G -Xmx2G -Dfile.encoding=UTF-8 | |
| JVM_OPTS: -Xms2G -Xmx2G -Dfile.encoding=UTF-8 | |
| steps: | |
| - uses: actions/checkout@v7.0.1 | |
| - uses: coursier/cache-action@v8.1.1 | |
| - uses: coursier/setup-action@v3.0.0 | |
| with: | |
| jvm: corretto:25 | |
| apps: sbt | |
| - name: Check formatting | |
| run: | | |
| sbt scalafmtAll scalafmtSbt | |
| if ! git diff --quiet; then | |
| echo "::error::Files are not formatted. Run 'sbt scalafmtAll scalafmtSbt' locally." | |
| git diff | |
| exit 1 | |
| fi |