Fix website build #404
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.18', '2.13.12', '3.3.1'] | |
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) |