Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
564 B
26 lines
564 B
4 months ago
|
name: Validate YAML
|
||
|
|
||
|
on:
|
||
|
workflow_call:
|
||
|
inputs:
|
||
|
safe-checkout:
|
||
|
required: true
|
||
|
description: "The SHA key for the commit we want to run over"
|
||
|
type: string
|
||
|
|
||
|
permissions:
|
||
|
contents: read
|
||
|
|
||
|
jobs:
|
||
|
validate-yaml:
|
||
|
name: Validate YAML
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: Checkout pending changes
|
||
|
uses: protocolbuffers/protobuf-ci/checkout@v3
|
||
|
with:
|
||
|
ref: ${{ inputs.safe-checkout }}
|
||
|
- name: Run python validation script
|
||
|
run: |
|
||
|
python .github/scripts/validate_yaml.py
|