Skip to content

Setup sbt for CI workflow #32

Setup sbt for CI workflow

Setup sbt for CI workflow #32

Workflow file for this run

name: Scala CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up sbt
uses: sbt/setup-sbt@v1
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: 'sbt'
- name: Run tests for Scala 3
run: sbt test
- name: Run tests for Scala 2.13
run: sbt "++2.13.8; test"