Mention scala 3 #185
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Scala v${{ matrix.scala }} / Java v${{ matrix.java }} | |
strategy: | |
matrix: | |
include: | |
- java: 8 | |
scala: 2.12.19 | |
- java: 14 | |
scala: 2.13.14 | |
- java: 8 | |
scala: 3.3.3 | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 100 | |
- name: Setup Scala | |
uses: olafurpg/setup-scala@v12 | |
with: | |
java-version: adopt@1.${{ matrix.java }} | |
- name: Cache sbt | |
uses: coursier/cache-action@v6 | |
- name: Checking your code format | |
run: sbt scalafmtCheck | |
- name: Build and test | |
shell: bash | |
run: sbt ++${{ matrix.scala }} clean test |