Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Merge pull request #10478 from SethTisue/fix-migration-semantic-merge… #7

Merge pull request #10478 from SethTisue/fix-migration-semantic-merge…

Merge pull request #10478 from SethTisue/fix-migration-semantic-merge… #7

Workflow file for this run

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-distribution: [temurin]
java: [8, 11, 17, 20]
# 21-ea will presumably be available from Temurin eventually, but for now:
include:
- os: ubuntu-latest
java-distribution: zulu
java: 21-ea
- os: windows-latest
java-distribution: zulu
java: 21-ea
runs-on: ${{matrix.os}}
steps:
- run: git config --global core.autocrlf false
- name: Checkout
uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: ${{matrix.java-distribution}}
java-version: ${{matrix.java}}
cache: sbt
- name: Build
run: |
sbt -Dsbt.scala.version=2.12.18-M2 setupPublishCore generateBuildCharacterPropertiesFile headerCheck publishLocal
- name: Test
run: |
STARR=`cat buildcharacter.properties | grep ^maven.version.number | cut -d= -f2` && echo $STARR
sbt -Dsbt.scala.version=2.12.18-M2 -Dstarr.version=$STARR setupValidateTest test:compile info testAll