Skip to content

Bump sqlfluff from 1.4.5 to 3.0.6 in /src #157

Bump sqlfluff from 1.4.5 to 3.0.6 in /src

Bump sqlfluff from 1.4.5 to 3.0.6 in /src #157

Workflow file for this run

###########################
## Lint All SQL code
###########################
#
name: Lint SQL
on:
workflow_dispatch:
pull_request:
paths:
src/requirements.txt
jobs:
lint:
name: Lint SQL
runs-on: ubuntu-20.04
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
- name: Set up Python 3.8
uses: actions/setup-python@v5.1.0
with:
python-version: '3.8'
- name: Lint SQL code
if: |
github.event_name == 'workflow_dispatch' ||
startsWith(github.event.pull_request.title,'Bump sqlfluff') == true
run: |
pip install -r src/requirements.txt
sqlfluff lint sql -p 4