Skip to content

Update scalafmt-core to 3.8.3 #227

Update scalafmt-core to 3.8.3

Update scalafmt-core to 3.8.3 #227

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
build:
name: build
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
jdk-version: [adopt@1.11]
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"