Update scalafmt-core to 3.8.1 (#493) #286
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: | |
pull_request: | |
paths: | |
- '**.scala' | |
- '**.java' | |
- '**.sbt' | |
- '.scalafmt.conf' | |
- '.github/workflows/test.yml' | |
push: | |
branches: | |
- main | |
paths: | |
- '**.scala' | |
- '**.java' | |
- '**.sbt' | |
- '.scalafmt.conf' | |
jobs: | |
code_format: | |
name: Code format | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: scalafmt test | |
run: ./sbt scalafmtCheckAll | |
test_sbt_plugin: | |
name: plugin test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: olafurpg/setup-scala@v14 | |
with: | |
java-version: [email protected] | |
- name: scripted tests | |
run: ./sbt scripted |