Merge pull request #288 from scala-steward/update/sbt-1.10.5 #547
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 | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Set up JDK 1.8 | |
uses: olafurpg/setup-scala@v14 | |
with: | |
java-version: 1.8 | |
- name: Cache Coursier | |
uses: actions/[email protected] | |
with: | |
path: ~/.cache/coursier | |
key: sbt-coursier-cache | |
- name: Cache SBT | |
uses: actions/[email protected] | |
with: | |
path: ~/.sbt | |
key: sbt-${{ hashFiles('**/build.sbt') }} | |
- name: Checking your code format | |
run: sbt scalafmtCheckAll | |
- name: Run tests | |
run: sbt clean sbt-tzdb/scripted |