Update sbt-sonatype to 3.11.0 (#214) #452
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: Scala CI | |
on: | |
push: | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
JAVA_OPTS: "-XX:+UseG1GC -Xmx6g" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
- name: Check headers | |
run: sbt +headerCheck | |
- name: Check scalafmt | |
run: sbt +scalafmtCheckAll scalafmtSbtCheck | |
- name: Compile everything | |
run: sbt +compile +test:compile | |
- name: Run tests | |
run: sbt +test |