Skip to content

Update sbt to 1.9.6 (#303) #690

Update sbt to 1.9.6 (#303)

Update sbt to 1.9.6 (#303) #690

Workflow file for this run

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: ':'