Rewrite in Scala 3: fix optimality bugs, add tests, CLI, modern tooling #1
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: [master, main] | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: 17 | |
| cache: sbt | |
| - name: Install sbt | |
| uses: sbt/setup-sbt@v1 | |
| - name: Check formatting | |
| run: sbt -batch scalafmtCheckAll scalafmtSbtCheck | |
| - name: Run tests | |
| run: sbt -batch test |