Update sbt-scalafmt to 2.5.1 #1309
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: CI | |
on: | |
pull_request: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: olafurpg/setup-scala@v10 | |
with: | |
java-version: [email protected] | |
- name: lint | |
run: 'sbt scalastyle && sbt "scalafmtCheckAll;scalafmtSbtCheck"' | |
- name: Check cross-compile | |
run: 'sbt +compile' | |
- name: Check Akka Version Compatibility | |
run: 'sbt checkAkkaModuleVersions' | |
#- name: check-binary-compatibility | |
# run: 'sbt mimaReportBinaryIssues' | |
- name: test | |
run: 'sbt clean coverage test coverageReport coverageAggregate' | |
- name: publish test report | |
uses: mikepenz/action-junit-report@v2 | |
if: 'always()' | |
with: | |
report_paths: 'target/test-reports/*.xml' | |
- uses: codecov/codecov-action@v1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: build docs | |
run: 'sbt surge-docs/clean surge-docs/makeSite' |