Add fmt & fmtCheck alias for formatting all projects #1438
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: | |
openjdk21: | |
runs-on: ubuntu-latest | |
env: | |
JAVA_OPTS: "-Xmx6G -XX:+UseG1GC" | |
SBT_OPTS: "-Dsbt.ci=true" | |
steps: | |
- name: Checkout current branch | |
uses: actions/checkout@v3 | |
- name: Setup JVM | |
uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 21 | |
cache: sbt | |
- name: Test | |
run: sbt testKit/test | |
- name: Check Formatting | |
run: sbt fmtCheck |