Skip to content

Commit

Permalink
CI: Add sqlc code generation check
Browse files Browse the repository at this point in the history
  • Loading branch information
positiveblue committed May 30, 2023
1 parent a3def89 commit 3972d08
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,23 @@ env:
GO_VERSION: 1.20.3

jobs:
########################
# SQLC code gen check
########################
sqlc-check:
name: Sqlc check
runs-on: ubuntu-latest
steps:
- name: git checkout
uses: actions/checkout@v3

- name: docker image cache
uses: satackey/action-docker-layer-caching@v0.0.11

- name: Generate sql models
run: make sqlc-check


########################
# RPC and mobile compilation check
########################
Expand Down

0 comments on commit 3972d08

Please sign in to comment.