Merge pull request #442 from scala-steward/update/scala3-library-3.2.2 #385
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.15', '2.13.8', '3.1.0'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Scala | |
uses: olafurpg/setup-scala@v10 | |
with: | |
java-version: "adopt@1.11" | |
- 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) |