Skip to content

get back scala 2.12 #345

get back scala 2.12

get back scala 2.12 #345

Workflow file for this run

name: Scala CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
scala: [2.12.19, 2.13.12, 3.3.0]
steps:
- uses: actions/checkout@v3
- name: Cache jabba
uses: actions/[email protected]
with:
path: ~/.jabba
key: ${{ runner.os }}-jabba-cache-${{ hashFiles('**/workflows/scala.yml') }}
- name: Cache SBT ivy cache
uses: actions/[email protected]
with:
path: ~/.ivy2/cache
key: ${{ runner.os }}-sbt-ivy-cache-${{ hashFiles('**/build.sbt') }}
- name: Cache SBT
uses: actions/[email protected]
with:
path: ~/.sbt
key: ${{ runner.os }}-sbt-${{ hashFiles('**/build.sbt') }}
- uses: olafurpg/setup-scala@v13
with:
java-version: [email protected]=tgz+https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-21.0.0/graalvm-ce-java11-linux-amd64-21.0.0.tar.gz
- name: Test
run: sbt ++${{matrix.scala}} test