Merge pull request #142 from Synthetixio/fix/config-names #196
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 Transformer Models | |
on: | |
push | |
jobs: | |
lint-models: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: "actions/checkout@v4" | |
with: | |
fetch-depth: 0 | |
- uses: "actions/setup-python@v3" | |
with: | |
python-version: "3.10.11" | |
- name: Install SQLFluff | |
run: "pip install sqlfluff" | |
- name: Lint models | |
run: "diff-quality --violations=sqlfluff --compare-branch origin/main --fail-under 100" |