Skip to content

Commit

Permalink
Bump up to v3 (#12)
Browse files Browse the repository at this point in the history
* Toward v3

* Run tests on sqlfluff 0.11.1
  • Loading branch information
yu-iskw authored Mar 18, 2022
1 parent 9018bbf commit ffa0e03
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
sqlfluff: ["0.9.4", "0.10.1"]
sqlfluff: ["0.9.4", "0.10.1", "0.11.1"]
steps:
- uses: actions/checkout@v2
- uses: ./
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:
strategy:
fail-fast: false
matrix:
sqlfluff: ["0.9.4", "0.10.1"]
sqlfluff: ["0.9.4", "0.10.1", "0.11.1"]
steps:
- uses: actions/checkout@v2
- uses: ./
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,13 +175,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: yu-iskw/action-sqlfluff@v2
- uses: yu-iskw/action-sqlfluff@v3
id: lint-sql
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
sqlfluff_version: "0.10.1"
sqlfluff_command: "lint" # Or fix
sqlfluff_version: "0.11.1"
sqlfluff_command: "fix" # Or "lint"
config: "${{ github.workspace }}/.sqlfluff"
paths: '${{ github.workspace }}/models'
- name: 'Show outputs (Optional)'
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ inputs:
sqlfluff version. Use the latest version if not set.
It must be 0.9.0 or later, because `sqlfluff<=0.8.2` doesn't support the `--config` option in the `fix` sub command.
required: false
default: '0.10.1'
default: '0.11.1'
sqlfluff_command:
description: 'The sub command of sqlfluff. One of lint and fix'
required: false
Expand Down

0 comments on commit ffa0e03

Please sign in to comment.