File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 46
46
- name : Generate sql models
47
47
run : make sqlc-check
48
48
49
+ sql-lint :
50
+ name : Sqlc lint
51
+ runs-on : ubuntu-latest
52
+ steps :
53
+ - name : git checkout
54
+ uses : actions/checkout@v4
55
+
56
+ - name : Run sql lint
57
+ run : make sql-lint-ci
58
+
49
59
rpc-check :
50
60
name : RPC check
51
61
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -278,6 +278,9 @@ sqlc-check: sqlc
278
278
sql-lint : docker-sqlfluff
279
279
$(DOCKER_SQLFLUFF ) lint tapdb/sqlc/migrations/* tapdb/sqlc/queries/*
280
280
281
+ sql-lint-ci : docker-sqlfluff
282
+ $(DOCKER_SQLFLUFF ) lint --format github-annotation-native tapdb/sqlc/migrations/* tapdb/sqlc/queries/*
283
+
281
284
sql-fix : docker-sqlfluff
282
285
$(DOCKER_SQLFLUFF ) fix tapdb/sqlc/migrations/* tapdb/sqlc/queries/*
283
286
You can’t perform that action at this time.
0 commit comments