Skip to content

Update scalafmt-core to 3.8.2 #226

Update scalafmt-core to 3.8.2

Update scalafmt-core to 3.8.2 #226

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"