mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
5d4fe8efb9
There is a mix of v2, v3 and v4 in the codebase. Let's move to v4 everywhere because v2 seems to be using a deprecated version of nodejs. This is throwing warnings when the Github action CI is running. Signed-off-by: Jinank Jain <jinankjain@microsoft.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@v4
|
|
- 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
|