Download schema in CI
This commit is contained in:
parent
e329e48e9b
commit
ce3cb2d027
1 changed files with 3 additions and 0 deletions
3
.github/workflows/build.yaml
vendored
3
.github/workflows/build.yaml
vendored
|
@ -15,6 +15,9 @@ jobs:
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Download GQL schema
|
||||||
|
run: "npx graphqurl http://localhost:5020/v2/query --introspect -H 'content-type: application/json' > schema.graphql"
|
||||||
|
|
||||||
- name: Go Generate
|
- name: Go Generate
|
||||||
run: go generate -tags tools -x ./...
|
run: go generate -tags tools -x ./...
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue