diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7d367d4..2927e36 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -50,10 +50,28 @@ jobs: - name: run imports check run: make fmt - + - name: run JS stubs check run: make rpc-js-compile + ####################### + # sql model generation + ####################### + sqlc-check: + name: Sqlc check + runs-on: ubuntu-latest + steps: + - name: git checkout + uses: actions/checkout@v2 + + - name: setup go ${{ env.GO_VERSION }} + uses: actions/setup-go@v2 + with: + go-version: '${{ env.GO_VERSION }}' + + - name: Generate sql models + run: make sqlc-check + ######################## # lint code ########################