Created
August 21, 2021 09:09
-
-
Save tuanchris/15bad9a881a48f39da36012ec3eb7eab to your computer and use it in GitHub Desktop.
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: Lint with sqlfluff | |
run: | | |
pip install sqlfluff | |
sqlfluff lint | |
# Linting only modified models | |
# git fetch origin main:main | |
# git diff main --name-only --diff-filter=d | egrep '^models/.*sql$$' | xargs -r sqlfluff lint |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment