Update sbt to 1.10.4 #1127
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
jdk8: | |
name: test jdk8 | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: olafurpg/setup-scala@v10 | |
- run: sbt test | |
- run: sbt compileScalafixOutputinScala3 | |
jdk11: | |
name: test jdk11 | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: olafurpg/setup-scala@v10 | |
with: | |
java-version: [email protected] | |
- run: sbt test | |
- run: sbt compileScalafixOutputinScala3 | |
windows_213: | |
name: Windows tests | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: olafurpg/setup-scala@v10 | |
- run: sbt test | |
shell: bash | |
windows_213_plugins_tests: | |
name: Windows plugin's tests | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: olafurpg/setup-scala@v10 | |
- run: sbt sbt-plugin/scripted | |
shell: bash | |
plugin: | |
name: plugin test with jdk8 | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: olafurpg/setup-scala@v10 | |
- run: sbt sbt-plugin/scripted | |
checks: | |
name: Scalafmt and Scalafix | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: olafurpg/setup-scala@v10 | |
- run: sbt "scalafix --check" | |
- run: bin/scalafmt --test |