improvement: Try to fix an issue with performance #2309
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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| - develop | |
| jobs: | |
| checks: | |
| name: Scalafmt and Scalafix | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: coursier/setup-action@v1 | |
| with: | |
| apps: sbt | |
| - run: sbt "scalafixAll --check" | |
| - run: ./bin/scalafmt --test | |
| unit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - uses: coursier/setup-action@v1 | |
| with: | |
| apps: sbt | |
| jvm: "adoptium:1.17" | |
| - uses: coursier/cache-action@v7 | |
| - name: Unit tests | |
| run: sbt test | |
| shell: bash | |
| - name: Package server | |
| run: sbt server/universal:packageBin | |
| shell: bash | |
| integration: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - uses: coursier/setup-action@v1 | |
| with: | |
| jvm: "adoptium:1.17" | |
| apps: sbt | |
| - name: Integration tests | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: sbt 'IntegrationTest/test' |