Skip to content

1.0.0

1.0.0 #11

Workflow file for this run

name: Release
on:
push:
branches:
- "main"
jobs:
release-pipeline:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: databricks/setup-cli@main
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: "pip" # caching pip dependencies
cache-dependency-path: setup.py
- name: Install pip
run: python -m pip install --upgrade pip
- name: Install dependencies
run: pip install -e ".[dev]"
- name: Run format check
run: black --diff --color --check .
- name: Run type check
run: mypy --install-types --non-interactive .
- run: databricks bundle deploy
working-directory: .
env:
DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN }}
DATABRICKS_BUNDLE_ENV: prod