Updated plugin sbt-ci-release to version 1.5.12 #21
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: Build the app | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
concurrency: | |
# Only run once for latest commit per ref and cancel other (previous) runs. | |
group: ci-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read # for checkout | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: Setup Scala | |
uses: japgolly/[email protected] | |
with: | |
java-version: 'adopt:1.11.0-11' | |
node-version: '16.7.0' | |
- name: Check code format | |
run: sbt scalafmtCheckAll | |
- name: Compile | |
run: CI=true sbt +compile | |
- name: Run tests | |
run: CI=true sbt +test |