mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-23 08:21:15 +00:00
Pull the container `openapitools/openapi-generator-cli` and run the validation. Signed-off-by: Michael Zhao <michael.zhao@arm.com>
17 lines
403 B
YAML
17 lines
403 B
YAML
name: Cloud Hypervisor OpenAPI Validation
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
jobs:
|
|
Validate:
|
|
runs-on: ubuntu-latest
|
|
container: openapitools/openapi-generator-cli
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Validate OpenAPI
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
run: |
|
|
/usr/local/bin/docker-entrypoint.sh validate -i vmm/src/api/openapi/cloud-hypervisor.yaml
|