Skip to content

Update scalafmt-core to 3.7.15 #69

Update scalafmt-core to 3.7.15

Update scalafmt-core to 3.7.15 #69

Workflow file for this run

name: Build & Test
on: push
jobs:
scalafmt:
name: Check formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache SBT & ivy cache
uses: actions/cache@v2
with:
path: |
~/.ivy2
~/.sbt
~/.m2
~/.cache/coursier/
key: ${{ runner.os }}-sbt-ivy-cache-${{ hashFiles('**/build.sbt') }}-${{ hashFiles('**/plugins.sbt') }}-${{ hashFiles('**/build.properties') }}
- name: Scalafmt
run: sbt scalafmtCheckAll
compile:
name: Compile
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache SBT & ivy cache
uses: actions/cache@v2
with:
path: |
~/.ivy2
~/.sbt
~/.m2
~/.cache/coursier/
key: ${{ runner.os }}-sbt-ivy-cache-${{ hashFiles('**/build.sbt') }}-${{ hashFiles('**/plugins.sbt') }}-${{ hashFiles('**/build.properties') }}
- name: Compile
run: sbt +compile
test:
name: Test Samples
runs-on: ubuntu-latest
needs: compile
steps:
- uses: actions/checkout@v2
- name: Cache SBT & ivy cache
uses: actions/cache@v2
with:
path: |
~/.ivy2
~/.sbt
~/.m2
~/.cache/coursier/
key: ${{ runner.os }}-sbt-ivy-cache-${{ hashFiles('**/build.sbt') }}-${{ hashFiles('**/plugins.sbt') }}-${{ hashFiles('**/build.properties') }}
- name: Test Samples
run: sbt +samples/it:test
scapegoat:
name: Scapegoat
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache SBT & ivy cache
uses: actions/cache@v2
with:
path: |
~/.ivy2
~/.sbt
~/.m2
~/.cache/coursier/
key: ${{ runner.os }}-sbt-ivy-cache-${{ hashFiles('**/build.sbt') }}-${{ hashFiles('**/plugins.sbt') }}-${{ hashFiles('**/build.properties') }}
- name: Run scapegoat
run: sbt scapegoat