Update scalafmt-core to 3.7.14 #686
Workflow file for this run
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, pull_request] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: ["ubuntu-latest"] | |
scala: [JVM2_12, JVM2_13, JVM3] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Download test executor | |
run: | | |
./make_harness.sh | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: 8 | |
distribution: temurin | |
- name: Compile and test | |
run: | | |
sbt "core${{matrix.scala}}/test" "codeGen${{matrix.scala}}/test" "e2e${{matrix.scala}}/test" "e2e${{matrix.scala}}/test:runMain scalapb.validate.ScalaHarness" | |
- name: Formatting | |
run: | | |
sbt scalafmtCheckAll scalafmtSbtCheck | |
- name: Run example project | |
run: | | |
cd example | |
sbt run | |
# Single final job for mergify. | |
ci-passed: | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- run: ':' |