Merge pull request #51300 from rafaelcamelo31/50486_api_move_scripts

api: move scripts to generate and validate swagger to api module
This commit is contained in:
Sebastiaan van Stijn
2025-12-11 21:35:38 +01:00
committed by GitHub
12 changed files with 193 additions and 86 deletions

View File

@@ -163,6 +163,29 @@ jobs:
run: |
make -o build validate-${{ matrix.script }}
validate-api-swagger:
runs-on: ubuntu-24.04
timeout-minutes: 10 # guardrails timeout for the whole job
defaults:
run:
working-directory: api
needs:
- validate-dco
name: validate (api-swagger)
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Build api module image
run: |
make build GO_VERSION=${{ env.GO_VERSION }}
-
name: Validate swagger
run: |
make validate-swagger
make validate-swagger-gen
smoke-prepare:
runs-on: ubuntu-24.04
timeout-minutes: 10 # guardrails timeout for the whole job