Skip to content

Update sbt, scripted-plugin to 1.9.6 (#143) #265

Update sbt, scripted-plugin to 1.9.6 (#143)

Update sbt, scripted-plugin to 1.9.6 (#143) #265

Workflow file for this run

name: build
on:
push:
branches:
- main
pull_request:
defaults:
run:
shell: bash
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 30
env:
JAVA_OPTS: "-Xmx6G"
SBT_OPTS: "-Dsbt.ci=true"
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.8.0
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v2
- name: Setup JDK
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '8'
- name: Cache SBT
uses: actions/cache@v2
with:
path: |
~/.m2/repository
~/.ivy2/cache
~/.cache/coursier
~/.sbt/launchers
~/.sbt/boot
~/.sbt/preloaded
key: ${{ runner.os }}-sbt-${{ hashFiles('**/build.sbt', '**/plugins.sbt', '**/build.properties') }}
- name: Test
run: |
sbt \
"all headerCheck" \
"all scalafmtSbtCheck" \
"all scalafmtCheckAll" \
"all scalafixAll --check" \
"test" \
"scripted"