diff options
| author | Fuwn <[email protected]> | 2021-05-20 15:05:21 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-05-20 15:05:21 -0700 |
| commit | 7498cd5e72a3de3f0c7831baf6b5de9de3f61690 (patch) | |
| tree | 1585d4b7f88b963f95efd2c684c93ba082a0ceda /Makefile.toml | |
| parent | style(migrations): fix sql linting errors (diff) | |
| download | whirl-7498cd5e72a3de3f0c7831baf6b5de9de3f61690.tar.xz whirl-7498cd5e72a3de3f0c7831baf6b5de9de3f61690.zip | |
ci: sql linting on commit, make task
Diffstat (limited to 'Makefile.toml')
| -rw-r--r-- | Makefile.toml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.toml b/Makefile.toml index 9587474..5894341 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -132,3 +132,9 @@ workspace = false dependencies = ["ask-github-token"] command = "act" args = ["-s", "GITHUB_TOKEN=${GITHUB_TOKEN}"] + +[tasks.lint-sql] +workspace = false +command = "sqlfluff" +args = ["lint", "./migrations/"] + |