Skip to content

Commit

Permalink
Use sqlfluff 2.3 by default (yu-iskw#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
yu-iskw authored Aug 24, 2023
1 parent 2b313f1 commit 62f4245
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
fail-fast: false
matrix:
sqlfluff:
- "2.0.7"
- "2.3.0"
extra_requirements_txt:
- "testdata/test_failed_dbt/extra_requirements-1.3.txt"
- "testdata/test_failed_dbt/extra_requirements-1.4.txt"
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ repos:
- id: trailing-whitespace
- id: check-yaml
- repo: https://github.com/rhysd/actionlint
rev: main
rev: v1.6.25
hooks:
- id: actionlint
- repo: https://github.com/hadolint/hadolint
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ inputs:
description: |
sqlfluff version. Use the latest version if not set.
required: false
default: '2.0.7'
default: '2.3.0'
sqlfluff_command:
description: 'The sub command of sqlfluff. One of lint and fix'
required: false
Expand Down
2 changes: 1 addition & 1 deletion testdata/test_failed_dbt/models/staging/staging_test.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

SELECT
1 AS x,
2 AS y,
2 AS y,
3 AS z

0 comments on commit 62f4245

Please sign in to comment.