Fix #159
Workflow file for this run
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"] | |
| tags: ["v*"] | |
| pull_request: | |
| branches: ["*"] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: Binary and tests | |
| strategy: | |
| fail-fast: true | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: "temurin" | |
| java-version: "21" | |
| cache: "sbt" | |
| - uses: sbt/setup-sbt@v1 | |
| - name: Tests and build binary | |
| run: sbt test buildBinaryDebug | |
| webapp_build: | |
| name: Test webapp build | |
| strategy: | |
| fail-fast: true | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: "temurin" | |
| java-version: "21" | |
| cache: "sbt" | |
| - uses: sbt/setup-sbt@v1 | |
| - name: Build webapp | |
| run: sbt frontendBuild | |
| mergify-build-checkpoint: | |
| runs-on: ubuntu-latest | |
| needs: [build, webapp_build] | |
| steps: | |
| - name: I only exist to please Mergify :( | |
| run: echo "It's a sad existence but necessary" |