Update sbt, scripted-plugin to 1.10.4 #714
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: build | |
on: | |
push: | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
strategy: | |
fail-fast: false | |
matrix: | |
java: [8, 21] | |
scala: ['2_12', '2_13', '3'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/[email protected] | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: adopt | |
- name: Run tests | |
run: | | |
case ${{ matrix.scala }} in | |
"2_12") | |
sbt -v SetScala212 test unidoc | |
;; | |
"2_13") | |
sbt -v SetScala213 test unidoc | |
;; | |
"3") | |
sbt -v SetScala3 test unidoc | |
;; | |
*) | |
echo "unknown scala version" | |
exit 1 | |
esac | |
git diff --exit-code |