Restore max performance of reader and writer for Scala Native #4880
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: build | |
| on: | |
| push: | |
| paths-ignore: | |
| - 'jsoniter-scala-examples/**' | |
| - '**.md' | |
| branches-ignore: | |
| - "gh-pages" | |
| pull_request: | |
| paths-ignore: | |
| - 'jsoniter-scala-examples/**' | |
| - '**.md' | |
| branches-ignore: | |
| - "gh-pages" | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| java: | |
| - 17 | |
| - 21 | |
| os: | |
| - macos-14 | |
| - windows-2022 | |
| - ubuntu-22.04-arm | |
| - ubuntu-22.04 | |
| fail-fast: false | |
| steps: | |
| - name: Configure git | |
| run: "git config --global core.autocrlf false" | |
| shell: bash | |
| - name: Checkout sources | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 300 | |
| - name: Fetch tags | |
| run: git fetch --depth=300 origin +refs/tags/*:refs/tags/* | |
| - name: Cache SBT deps | |
| uses: coursier/cache-action@v6 | |
| - name: Setup Scala with SBT | |
| uses: coursier/setup-action@v1 | |
| with: | |
| jvm: temurin:${{ matrix.java }} | |
| apps: sbt | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 16 | |
| - name: Test and Check Binary Compatibility | |
| run: "sbt -batch +test +mimaReportBinaryIssues" | |
| shell: bash |