Skip to content

Commit

Permalink
run multiple scala builds in ci action
Browse files Browse the repository at this point in the history
  • Loading branch information
barkhorn authored Nov 3, 2020
1 parent e18f6bf commit 73d9199
Showing 1 changed file with 29 additions and 3 deletions.
32 changes: 29 additions & 3 deletions .github/workflows/scala.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Scala CI
name: SBT CI Build

on:
push:
Expand All @@ -7,7 +7,7 @@ on:
branches: [ master ]

jobs:
build:
scala_2_11:

runs-on: ubuntu-latest

Expand All @@ -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

0 comments on commit 73d9199

Please sign in to comment.