This repository has been archived by the owner on Apr 8, 2024. It is now read-only.
chore: make dbt-fal compatible with latest fal-serverless #1000
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: Generate typing module | |
on: | |
pull_request: | |
types: [assigned, opened, synchronize, reopened] | |
paths: | |
- "projects/adapter/**" | |
- ".github/workflows/generate_typing.yml" | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
# Run only the latest commit pushed to PR | |
concurrency: | |
group: "${{ github.head_ref || github.run_id }}-${{ github.workflow }}-${{ matrix.profile }}-${{ matrix.dbt }}-${{ matrix.python }}" | |
cancel-in-progress: true | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
repository: ${{ github.event.pull_request.head.repo.full_name }} | |
ref: ${{ github.head_ref }} | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Setup black | |
run: pip install black | |
- name: Generate typing | |
run: | | |
python tools/generate_typing_context.py | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Generate typing | |
commit_user_email: [email protected] | |
commit_user_name: Fal Bot |