Skip to content

Commit eac8e7b

Browse files
committed
ci: run sqlc-check
1 parent 54bb441 commit eac8e7b

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.github/workflows/main.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,25 @@ jobs:
4343

4444
- name: run check
4545
run: make rpc-check
46-
46+
47+
########################
48+
# SQL compile and check
49+
########################
50+
sqlc-check:
51+
name: SQL compilation check
52+
runs-on: ubuntu-latest
53+
steps:
54+
- name: git checkout
55+
uses: actions/checkout@v2
56+
57+
- name: setup go ${{ env.GO_VERSION }}
58+
uses: actions/setup-go@v2
59+
with:
60+
go-version: '~${{ env.GO_VERSION }}'
61+
62+
- name: run check
63+
run: make sqlc-check
64+
4765
########################
4866
# go mod check
4967
########################

0 commit comments

Comments
 (0)