Skip to content

Enables lockfile workflow with sbt-dependency-lock #338

Enables lockfile workflow with sbt-dependency-lock

Enables lockfile workflow with sbt-dependency-lock #338

Workflow file for this run

name: Continuous Integration
on:
workflow_call:
pull_request:
branches: ['*']
push:
branches: ['*']
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:
path: |
~/.sbt
~/.ivy2/cache
~/.coursier/cache/v1
~/.cache/coursier/v1
~/AppData/Local/Coursier/Cache/v1
~/Library/Caches/Coursier/v1
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
jvm: adopt:1.8
- name: Build, test, and package project on Spark 3.5
run: bin/sbt clean update dependencyLockCheck compile test package makePom -DsparkVersion=3.5.1
- name: Build and package project on "legacy" Spark
run: bin/sbt clean update dependencyLockCheck compile package makePom