https://github.com/bidaya0/sql-lint-in-action
Integrate sql-lint in github action to check .sql file.
https://github.com/bidaya0/sql-lint-in-action
checker codereview github github-actions mysql pgsql sql sql-linter
Last synced: 6 months ago
JSON representation
Integrate sql-lint in github action to check .sql file.
- Host: GitHub
- URL: https://github.com/bidaya0/sql-lint-in-action
- Owner: Bidaya0
- License: mit
- Created: 2022-01-04T01:17:41.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-02-14T23:32:56.000Z (12 months ago)
- Last Synced: 2025-02-18T06:03:04.751Z (12 months ago)
- Topics: checker, codereview, github, github-actions, mysql, pgsql, sql, sql-linter
- Language: JavaScript
- Homepage:
- Size: 7.33 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sql-lint-in-action



This action provides the use of sql-lint in github action to check your .sql scripts.
[sql-lint](https://github.com/joereynolds/sql-lint)
## Todo
- setup format
- setup ignore-errors
## Inputs
## `path`
**Required** The path of sqlfile. Default `"."`.
## `host`
The host of your db. Default `""`.
## `user`
The user of your db. Default `"root"`.
## `password`
The password of your db. Default `""`.
## `port`
The port of your db. Default `3306`.
## `driver`
The driver of your db.Accepted ones are `"mysql"` and `"postgres"`. Default `"mysql"`.
## Example usage
```
uses: Bidaya0/sql-lint-in-action@v0.0.1
with:
path: '.'
```