fix(dbt): br_cnj_improbidade_administrativa.condenacao #63
Workflow file for this run
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: CI dbt | |
on: | |
pull_request: | |
paths: ['**.sql', '**.yaml', '**.yml'] | |
jobs: | |
lint: | |
name: Lint dbt | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up poetry | |
run: pipx install poetry | |
- name: Set up python | |
uses: actions/setup-python@v4 | |
with: | |
cache: poetry | |
python-version: '3.9' | |
- name: Install requirements | |
run: poetry install --only=dev | |
- name: Lint sql | |
run: poetry run sqlfmt --diff . | |
- name: Lint yaml | |
run: poetry run yamlfix --exclude ".kubernetes/**/*" . |