Skip to content

Update/sbt scalafmt 2.5.1 #445

Update/sbt scalafmt 2.5.1

Update/sbt scalafmt 2.5.1 #445

Workflow file for this run

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