Skip to content

ci(mergify): upgrade configuration to current format #874

ci(mergify): upgrade configuration to current format

ci(mergify): upgrade configuration to current format #874

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@v4
- name: Download test executor
run: |
./make_harness.sh
- uses: actions/setup-java@v4
with:
java-version: 11
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: ':'