2020-12-14 06:37:09 -06:00
|
|
|
name: Compile & Formatting
|
|
|
|
env:
|
|
|
|
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
compile:
|
|
|
|
runs-on: ubuntu-latest
|
2021-04-18 09:02:49 -05:00
|
|
|
timeout-minutes: 60
|
2020-12-14 06:37:09 -06:00
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
2021-03-08 08:47:15 -06:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2020-12-14 06:37:09 -06:00
|
|
|
- name: Setup Scala
|
2022-07-08 13:43:17 -05:00
|
|
|
uses: actions/setup-java@v3
|
2021-04-28 16:21:09 -05:00
|
|
|
with:
|
2022-07-08 13:43:17 -05:00
|
|
|
distribution: 'adopt'
|
2022-07-28 12:25:43 -05:00
|
|
|
java-version: '17'
|
2022-07-08 13:43:17 -05:00
|
|
|
cache: 'sbt'
|
2020-12-14 06:37:09 -06:00
|
|
|
- name: Compile and Check Formatting
|
2022-08-20 17:21:39 -05:00
|
|
|
run: sbt -J-Xmx2g +test:compile scalafmtCheckAll docs/mdoc
|