Skip to content

Commit

Permalink
add sqlfluff lint to build pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewcrosher committed Oct 9, 2024
1 parent ae0d5ac commit f0706c1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
profile: ajc_adb_dbt_all_purpose

jobs:
install:
run_dbt:
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand All @@ -33,6 +33,10 @@ jobs:
dbt --version
sqlfluff --version
- name: Lint with sqlfluff
run: |
sqlfluff lint models/*.sql
- name: dbt debug profile
env:
adbtoken: ${{ secrets.ADBTOKEN }}
Expand Down

0 comments on commit f0706c1

Please sign in to comment.