Merge pull request #11103 from som-snytt/issue/13115-leading-parser-c… #1317
This file contains hidden or 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: Scala Merge CI | |
on: | |
push: | |
branches: ['2.*.x'] | |
workflow_dispatch: | |
defaults: | |
run: | |
shell: bash | |
permissions: | |
contents: read | |
jobs: | |
build_and_test: | |
name: Test | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
java: [8, 11, 17, 21, 24, 25-ea] | |
runs-on: ${{matrix.os}} | |
steps: | |
- run: git config --global core.autocrlf false | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: ${{matrix.java}} | |
cache: sbt | |
- name: Setup SBT | |
uses: sbt/setup-sbt@v1 | |
- name: Build | |
run: | | |
sbt setupPublishCore generateBuildCharacterPropertiesFile headerCheck publishLocal | |
- name: Test | |
run: | | |
STARR=`cat buildcharacter.properties | grep ^maven.version.number | cut -d= -f2` && echo $STARR | |
sbt -Dstarr.version=$STARR setupValidateTest Test/compile info testAll |