diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 165208f..0e50d19 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,6 +27,9 @@ env: GO_VERSION: 1.19.2 jobs: + ######################## + # rpc compilation check + ######################## rpc-check: name: RPC check runs-on: ubuntu-latest @@ -37,6 +40,22 @@ jobs: - name: Generate RPC stubs and check REST annotations run: make rpc-check + ####################### + # sql model generation + ####################### + 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 + ######################## # lint code ########################