aboutsummaryrefslogtreecommitdiff
path: root/Makefile.toml
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-20 15:05:21 -0700
committerFuwn <[email protected]>2021-05-20 15:05:21 -0700
commit7498cd5e72a3de3f0c7831baf6b5de9de3f61690 (patch)
tree1585d4b7f88b963f95efd2c684c93ba082a0ceda /Makefile.toml
parentstyle(migrations): fix sql linting errors (diff)
downloadwhirl-7498cd5e72a3de3f0c7831baf6b5de9de3f61690.tar.xz
whirl-7498cd5e72a3de3f0c7831baf6b5de9de3f61690.zip
ci: sql linting on commit, make task
Diffstat (limited to 'Makefile.toml')
-rw-r--r--Makefile.toml6
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/"]
+