evcc-io/.github/workflows/openapi-validate.yml
dependabot[bot] e46584a1dd
Bump actions/setup-go from 6 to 7 (#32361)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-01 12:06:55 +02:00

25 lines
580 B
YAML

name: openapi-validate
permissions:
contents: read
on:
workflow_dispatch:
pull_request:
paths:
- "server/openapi.yaml"
- ".github/workflows/openapi-validate.yml"
jobs:
validate-openapi:
name: Validate OpenAPI spec
runs-on: depot-ubuntu-24.04-arm
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Setup Go
uses: actions/setup-go@v7
with:
go-version: stable
- name: Validate OpenAPI spec
run: go run github.com/getkin/kin-openapi/cmd/validate@v0.133.0 -- server/openapi.yaml