ci: Setup Scala in GHActions #5
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: Scala CI | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup Scala with JDK 11 | |
| uses: olafurpg/setup-scala@v14 | |
| with: | |
| java-version: [email protected] | |
| - name: Formatting | |
| run: sbt clean fmt-format | |
| - name: Documentation | |
| run: sbt clean doc |