Use match instead of pipe #1681
Workflow file for this run
This file contains 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: Continuous Integration | |
on: | |
pull_request: | |
branches: ['**'] | |
push: | |
branches: ['**'] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
env: | |
JAVA_OPTS: "-Xmx6G -XX:+UseG1GC" | |
SBT_OPTS: "-Dsbt.ci=true" | |
steps: | |
- name: Checkout current branch | |
uses: actions/checkout@v4 | |
- name: Setup JVM | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 21 | |
cache: sbt | |
- name: Test | |
run: sbt testKit/test | |
compile: | |
runs-on: ubuntu-latest | |
env: | |
JAVA_OPTS: "-Xmx6G -XX:+UseG1GC" | |
SBT_OPTS: "-Dsbt.ci=true" | |
steps: | |
- name: Checkout current branch | |
uses: actions/checkout@v4 | |
- name: Setup JVM | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 21 | |
cache: sbt | |
- name: compile | |
run: sbt compile | |
format: | |
runs-on: ubuntu-latest | |
env: | |
SBT_OPTS: "-Dsbt.ci=true" | |
steps: | |
- name: Checkout current branch | |
uses: actions/checkout@v4 | |
- name: Setup JVM | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 21 | |
cache: sbt | |
- name: Check Formatting | |
run: sbt check |