Skip to content

Integrate sql-lint in github action to check .sql file.

License

Notifications You must be signed in to change notification settings

Bidaya0/sql-lint-in-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

sql-lint-in-action

GitHub release (latest by date) GitHub commit activity (branch) GitHub release (latest by date)

This action provides the use of sql-lint in github action to check your .sql scripts. 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: '.'