From 73d9199f3017e6e0d794f512851e13239380610e Mon Sep 17 00:00:00 2001 From: Philipp Meyerhoefer Date: Tue, 3 Nov 2020 08:42:41 +0000 Subject: [PATCH] run multiple scala builds in ci action --- .github/workflows/scala.yml | 32 +++++++++++++++++++++++++++++--- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/.github/workflows/scala.yml b/.github/workflows/scala.yml index d71c4a92..fcf0f480 100644 --- a/.github/workflows/scala.yml +++ b/.github/workflows/scala.yml @@ -1,4 +1,4 @@ -name: Scala CI +name: SBT CI Build on: push: @@ -7,7 +7,7 @@ on: branches: [ master ] jobs: - build: + scala_2_11: runs-on: ubuntu-latest @@ -18,4 +18,30 @@ jobs: with: java-version: 11 - name: Run tests - run: sbt test + run: sbt ++2.11.12 test + + scala_2_12: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK + uses: actions/setup-java@v1 + with: + java-version: 11 + - name: Run tests + run: sbt ++2.12.12 test + + scala_2_13: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up JDK + uses: actions/setup-java@v1 + with: + java-version: 11 + - name: Run tests + run: sbt ++2.13.3 test