mirror of
https://github.com/lightninglabs/faraday.git
synced 2026-08-13 12:33:35 +02:00
github: sqlc check
This commit is contained in:
parent
3157dbc870
commit
fcb52aa2b4
1 changed files with 19 additions and 1 deletions
20
.github/workflows/main.yml
vendored
20
.github/workflows/main.yml
vendored
|
|
@ -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
|
||||
########################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue