Skip to content

Merge pull request #2 from willianmrs/feat/upgrading-confluent-version #12

Merge pull request #2 from willianmrs/feat/upgrading-confluent-version

Merge pull request #2 from willianmrs/feat/upgrading-confluent-version #12

name: Binary Compatibility
on:
push:
branches: [ master, branch-3.2 ]
pull_request:
branches: [ master, branch-3.2 ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
spark: [ 3.2 ]
scala: [ 2.12, 2.13 ]
name: Spark ${{ matrix.spark }}, 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 }}