Update specs2-core, specs2-mock to 4.20.1 #432
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: Scala CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ '*' ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
- name: Check Format by scalafmt | |
run: | |
sbt scalafmtSbtCheck scalafmtCheckAll | |
- name: Check Lint by scalafix | |
run: | |
sbt scalafixEnable "scalafixAll --check" | |
- name: Sbt Plugin tests | |
run: | |
sbt clean sbtPlaySwagger/scripted | |
- name: Core Lib tests | |
run: | |
sbt ';project playSwagger;clean;+test' | |
- name: Example compile | |
run: | |
sbt publishForExample && cd example && sbt clean scalafmtSbtCheck scalafmtCheckAll scalafixEnable "scalafixAll --check" compile |