File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -195,6 +195,28 @@ jobs:
195
195
- name : check commits
196
196
run : scripts/check-each-commit.sh upstream/${{ github.base_ref }}
197
197
198
+ # ######################
199
+ # sql model generation
200
+ # ######################
201
+ sqlc-check :
202
+ name : Sqlc check
203
+ runs-on : ubuntu-latest
204
+ steps :
205
+ - name : git checkout
206
+ uses : actions/checkout@v3
207
+
208
+ - name : setup go ${{ env.GO_VERSION }}
209
+ uses : ./.github/actions/setup-go
210
+ with :
211
+ go-version : ' ${{ env.GO_VERSION }}'
212
+
213
+ - name : docker image cache
214
+ uses : jpribyl/action-docker-layer-caching@v0.1.1
215
+ continue-on-error : true
216
+
217
+ - name : Generate sql models
218
+ run : make sqlc-check
219
+
198
220
# #######################
199
221
# lint code
200
222
# #######################
You can’t perform that action at this time.
0 commit comments