Skip to content

[maven-release-plugin] prepare release v5.1.1 #170

[maven-release-plugin] prepare release v5.1.1

[maven-release-plugin] prepare release v5.1.1 #170

name: Binary Compatibility
on:
push:
branches: [ master, branch-5 ]
pull_request:
branches: [ master, branch-5 ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
scala: [ 2.11, 2.12 ]
name: Scala ${{ matrix.scala }}
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-${{ matrix.scala }}-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-${{ matrix.scala }}-
- name: Switch scala version
run: mvn scala-cross-build:change-version -Pscala-${{ matrix.scala }}
- name: Check binary compatibility
run: mvn clean test -DskipTests -Pcompatibility-check,scala-${{ matrix.scala }}