Merge pull request #395 from scala-steward/update/scala-library-2.12.18 #293
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: CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
build-test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
scala: ['2.12.12', '2.13.6', '3.1.0'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Scala | |
uses: olafurpg/setup-scala@v10 | |
with: | |
java-version: "[email protected]" | |
- name: Coursier cache | |
uses: coursier/cache-action@v5 | |
- name: Build and test | |
if: ${{ matrix.scala == '3.1.0' }} | |
run: sbt ++${{ matrix.scala }} clean test | |
- name: Build and test | |
if: ${{ matrix.scala != '3.1.0' }} | |
run: sbt ++${{ matrix.scala }} clean coverage test coverageReport && bash <(curl -s https://codecov.io/bash) |