sqlfluff / sqlfluff-github-actions

The official resource for SQLFluff related GitHub Actions
MIT License
105 stars 36 forks source link

How to use --formatter dbt on Drizly? #22

Closed chinahamu closed 2 years ago

chinahamu commented 2 years ago

I Can See this error no dbt_project.yml found at expected path /home/runner/work/project/project/dbt_project.yml

I set an environment variable to solve this problem.

jobs:
  lint-models:
    runs-on: ubuntu-latest
    steps:
    env:
      DBT_PROFILES_DIR: /home/runner/work/${{ github.event.repository.name }}/${{ github.event.repository.name }}/dbt/

But the result remained the same.