Skip to content

Commit

Permalink
ci: Check the format automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
Javakky-pxv committed Jul 7, 2022
1 parent bece46c commit 7da6c3e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/scala.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,15 @@ jobs:
with:
java-version: '11'
distribution: 'adopt'
- name: Check Format by scalafmt
run:
sbt scalafmtSbtCheck scalafmtCheckAll
- name: Sbt Plugin tests
run:
sbt clean sbtPlaySwagger/scripted
- name: Core Lib tests
run:
sbt ';project playSwagger;clean;+test'
- name: Example compile
- name: Example compile
run:
cd example && sbt clean compile
cd example && sbt clean scalafmtSbtCheck scalafmtCheckAll compile

0 comments on commit 7da6c3e

Please sign in to comment.