Skip to content

Merge pull request #489 from scalacenter/update/sbt-ci-release-1.6.0 #1078

Merge pull request #489 from scalacenter/update/sbt-ci-release-1.6.0

Merge pull request #489 from scalacenter/update/sbt-ci-release-1.6.0 #1078

Workflow file for this run

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