8224 report required permissions when authorization fails #13148
This file contains 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: 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 |