Skip to content

Merge pull request #478 from scalacenter/update/scalafmt-core-3.8.2 #1059

Merge pull request #478 from scalacenter/update/scalafmt-core-3.8.2

Merge pull request #478 from scalacenter/update/scalafmt-core-3.8.2 #1059

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