Skip to content

Cross build to sbt 2.0.0-RC4 #59

Cross build to sbt 2.0.0-RC4

Cross build to sbt 2.0.0-RC4 #59

Workflow file for this run

name: Scala CI

Check failure on line 1 in .github/workflows/scala.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/scala.yml

Invalid workflow file

(Line: 10, Col: 9): Unexpected value '', (Line: 13, Col: 5): Unexpected value 'fail-fast', (Line: 14, Col: 5): Unexpected value 'matrix'
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
jobtype: 1
- os: ubuntu-latest
jobtype: 2
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5
- name: Set up JDK 1.8
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: 8.0.372+7
cache: sbt
- name: Install sbt
uses: sbt/setup-sbt@v1
- name: Build and test
if: ${{ matrix.jobtype == 1 }}
shell: bash
run: sbt -v '++ 2.12.x' scripted
- name: Scala 3
if: ${{ matrix.jobtype == 2 }}
shell: bash
run: sbt -v '++ 3.x' scripted