Merge pull request #1516 from RainbowMango/pr_verify_swagger_in_ci
Verify swagger docs in CI
This commit is contained in:
commit
c41314cfd9
|
@ -9,8 +9,6 @@ jobs:
|
||||||
name: lint
|
name: lint
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
steps:
|
steps:
|
||||||
- name: Install Protoc
|
|
||||||
uses: arduino/setup-protoc@v1
|
|
||||||
- name: checkout code
|
- name: checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: install Go
|
- name: install Go
|
||||||
|
@ -23,8 +21,6 @@ jobs:
|
||||||
run: hack/verify-staticcheck.sh
|
run: hack/verify-staticcheck.sh
|
||||||
- name: import alias
|
- name: import alias
|
||||||
run: hack/verify-import-aliases.sh
|
run: hack/verify-import-aliases.sh
|
||||||
- name: protobuf
|
|
||||||
run: hack/verify-estimator-protobuf.sh
|
|
||||||
codegen:
|
codegen:
|
||||||
name: codegen
|
name: codegen
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
|
@ -42,10 +38,16 @@ jobs:
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: 1.17.x
|
go-version: 1.17.x
|
||||||
|
- name: Install Protoc
|
||||||
|
uses: arduino/setup-protoc@v1
|
||||||
- name: verify codegen
|
- name: verify codegen
|
||||||
run: hack/verify-codegen.sh
|
run: hack/verify-codegen.sh
|
||||||
- name: verify crdgen
|
- name: verify crdgen
|
||||||
run: hack/verify-crdgen.sh
|
run: hack/verify-crdgen.sh
|
||||||
|
- name: verify protobuf
|
||||||
|
run: hack/verify-estimator-protobuf.sh
|
||||||
|
- name: verify swagger docs
|
||||||
|
run: hack/verify-swagger-docs.sh
|
||||||
build:
|
build:
|
||||||
name: compile
|
name: compile
|
||||||
needs: codegen # rely on codegen successful completion
|
needs: codegen # rely on codegen successful completion
|
||||||
|
|
Loading…
Reference in New Issue