Skip to content

[kyo-schema-json] use ByteSize for JSONL limits and buffers #6053

[kyo-schema-json] use ByteSize for JSONL limits and buffers

[kyo-schema-json] use ByteSize for JSONL limits and buffers #6053

Workflow file for this run

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