Update scalafmt-core to 3.8.1 #225
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: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
name: build | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
jdk-version: [[email protected]] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Scala ${{ matrix.jdk-version }} | |
uses: olafurpg/setup-scala@v13 | |
with: | |
java-version: ${{ matrix.jdk-version }} | |
- name: Cache dependencies | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.ivy2/cache | |
~/.sbt | |
key: sbt-${{ hashFiles('**/build.sbt') }} | |
restore-keys: sbt- | |
- name: Create new project from template | |
run: | | |
sbt new file://${GITHUB_WORKSPACE} \ | |
--name=ci \ | |
--organization=com.azavea \ | |
--package=com.azavea.ci \ | |
--default-api-port=8080 \ | |
--default-db-port=5432 | |
cd ci && sbt ";application/compile; scalafmt; scalafmtSbt; scalafix --check" |