Skip to content

feat: continuing frontend integrations (DRAFT) #41

feat: continuing frontend integrations (DRAFT)

feat: continuing frontend integrations (DRAFT) #41

Workflow file for this run

# found on https://github.com/sqlfluff/sqlfluff-github-actions/tree/main/menu_of_workflows/sunrise_movement , edited to current sqlfluff workflow
name: Lint SQL
on: [pull_request]
jobs:
lint-models:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./backend/
steps:
- uses: "actions/checkout@v2"
- uses: "actions/setup-python@v2"
with:
python-version: "3.8"
- name: Install SQLFluff
run: "pip install sqlfluff"
- name: Lint Queries
run: |
make sqlint
echo 'always run your sql against this'
echo 'https://online.sqlfluff.com/fluffed?sql=H4sIAKWO5GUC_32QvU7DMBSF51ryOxxVGaBKhoStFUNpnGIpTZDjgBgjcodITVrFRcDbY6MY1EpluMv9-c65J4owND0tsRmpOVFtaMTyMBBnsqiE0pCFLjF_t30zxw1nwIz6ptuHODbGfBzGNoSbOgpnt3he57Wops0gDhEktu7cSAldq0IWWyxWnHEWee0tnZywmZQrkYuNxgKZKndem7OXR6EEuhb3CGLkcic14nNQ3hlP6pvh6yqqVKlQeHi1NM5-SJzNYtvPskpoJOfU-thO0XiH9VO61uKP5458HM5ecuGWs6u_p7SnXzh90htnqTVt6f98v_oGDJJVFrcBAAA%3D&dialect=postgres'
echo 'this will format your sql to get the passing ci'