Skip to content

prevent merging a branch to itself #13261

prevent merging a branch to itself

prevent merging a branch to itself #13261

Workflow file for this run

name: Unit test Spark metadata client
on:
push:
paths:
- "clients/spark/**"
branches:
- master
pull_request:
jobs:
spark-metadata-client:
name: Unit test Spark metadata client
runs-on: ubuntu-22.04
steps:
- name: Check-out code
uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: 'adopt-hotspot'
java-version: '8'
cache: 'sbt'
- name: validate format
working-directory: clients/spark
run: sbt scalafmtCheck
- name: run tests, validate and package
working-directory: clients/spark
run: sbt test "scalafix --check" package