Merge pull request #204 from target/update/sbt-buildinfo-0.13.1 #384
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: Continuous Integration | |
on: | |
workflow_call: | |
merge_group: | |
branches: ['*'] | |
pull_request: | |
branches: ['*'] | |
push: | |
branches: ['*'] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
build: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout current branch (full) | |
uses: actions/checkout@v4 | |
- uses: coursier/cache-action@v6 | |
with: | |
extraKey: ${{ runner.os }} | |
- uses: coursier/setup-action@v1 | |
with: | |
jvm: adopt:1.8 | |
- name: Build, test, and package project on Spark 3.5 | |
run: bin/sbt clean compile test package makePom -DsparkVersion=3.5.1 | |
- name: Build and package project on "legacy" Spark | |
run: bin/sbt clean compile package makePom |