Upgrade sbt-ci-release from 1.6.1 to 1.7.0 #610
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: [main, "feature/*"] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 16 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: "16" | |
distribution: "adopt" | |
- name: Check sources formatting | |
run: sbt scalafmtCheck | |
- name: Check sbt and project dir formatting | |
run: sbt scalafmtSbtCheck | |
- name: Run tests | |
run: sbt test | |
- name: Build docs | |
run: sbt docs/mdoc |