Skip to content

Bump sqlfluff from 1.4.5 to 2.3.3 in /src #129

Bump sqlfluff from 1.4.5 to 2.3.3 in /src

Bump sqlfluff from 1.4.5 to 2.3.3 in /src #129

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/[email protected]
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