Extract deprecated IntegrationTest configuration into sbt subproject #223
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: 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 | |
mima: | |
name: Report Binary Issues | |
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 mima | |
run: sbt mimaReportBinaryIssues |