Merge branch 'main' into feature/REL-4535 #432
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, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 16 | |
| - name: Setup Java (temurin@17) | |
| id: setup-java-temurin-17 | |
| if: matrix.java == 'temurin@17' | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: 17 | |
| cache: sbt | |
| - name: Setup sbt launcher | |
| uses: sbt/setup-sbt@v1 | |
| - name: Cache Coursier | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.cache/coursier | |
| key: sbt-coursier-cache | |
| - name: Cache SBT | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.sbt | |
| key: sbt-${{ hashFiles('**/build.sbt') }} | |
| - name: Check format | |
| run: sbt headerCheck test:headerCheck scalafmtCheckAll | |
| - name: Run tests | |
| run: sbt +compile seqexec_modelJVM/test seqexec_modelJS/test seqexec_engine/test seqexec_server/test seqexec_web_server/test seqexec_web_client/test |