File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -2771,3 +2771,27 @@ jobs:
27712771 ./ci/github/helpers/openapi-specs-backwards-compatibility.bash breaking \
27722772 https://raw.githubusercontent.com/${{ github.event.pull_request.base.repo.full_name }}/refs/heads/${{ github.event.pull_request.base.ref }} \
27732773 .
2774+
2775+ api-server-backwards-compatible :
2776+ needs : [changes]
2777+ if : ${{ needs.changes.outputs.anything-py == 'true' || github.event_name == 'push' }}
2778+ timeout-minutes : 10
2779+ name : " api-server-backwards-compatibility"
2780+ runs-on : ubuntu-latest
2781+ steps :
2782+ - name : setup python environment
2783+ uses : actions/setup-python@v5
2784+ with :
2785+ python-version : " 3.11"
2786+ - name : install uv
2787+ uses : astral-sh/setup-uv@v4
2788+ with :
2789+ version : " 0.4.x"
2790+ enable-cache : false
2791+ - name : checkout
2792+ uses : actions/checkout@v4
2793+ - name : Check api-server backwards compatibility
2794+ run : |
2795+ ./scripts/openapi-diff.bash breaking --fail-on ERR\
2796+ https://raw.githubusercontent.com/${{ github.event.pull_request.base.repo.full_name }}/refs/heads/${{ github.event.pull_request.base.ref }}/services/api-server/openapi.json \
2797+ ./services/api-server/openapi.json
You can’t perform that action at this time.
0 commit comments