Merge pull request #29 from mblink/2024-12-updates #64
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: andxor | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
java: [8, 11, 17, 21] | |
scala: [2, 3] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Java ${{ matrix.java }} | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: ${{ matrix.java }} | |
cache: sbt | |
- name: Setup sbt | |
uses: sbt/setup-sbt@v1 | |
- name: Test | |
run: sbt test | |
working-directory: scala-${{ matrix.scala }} | |
- name: Check binary compatibility | |
run: sbt mimaReportBinaryIssues | |
working-directory: scala-${{ matrix.scala }} | |
- name: Build docs | |
if: matrix.scala == '2' && matrix.java == '21' | |
run: sbt docs/mdoc | |
working-directory: scala-${{ matrix.scala }} |