literal types #762
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: CI | |
on: | |
pull_request: | |
push: | |
tags-ignore: | |
- v* | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
scalaversion: ["2.11.12", "2.12.15", "2.13.6", "3.1.3"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Scala | |
uses: japgolly/[email protected] | |
- name: Build and test | |
run: sbt -DCI=1 "++${{ matrix.scalaversion }}" test package doc | |
- name: Validate formatting | |
run: sbt -DCI=1 "++${{ matrix.scalaversion }}" dom/scalafmtCheck | |
- name: Validate api report | |
if: matrix.scalaversion != '2.11.12' && matrix.scalaversion != '3.1.3' | |
run: ./api-reports/validate "${{ matrix.scalaversion }}" | |
readme: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: japgolly/[email protected] | |
- name: Readme generation | |
run: sbt readme/run |