Skip to content

chore: add linter for protobuf schema files #384

@jkowalleck

Description

@jkowalleck

we currntly do have linters for the XML schema.
we currntly do have linters for the JSON schema.
we currntly do NOT have linters for the ProtocolBuffer schema, don't we?

goal: introduce an automated tool chain, that can

  • lint protocol buffer schema
    • find malformed schema files
    • find conflicts in field enumeration (duplicate use of a field number, etc ...)
    • optional but highly appreciated: detect breaking changes

this tooling should monitor

  • all current (and future?) protobuff schema files in this repo's schema folder
    • glob schema/bom-*.proto

this tooling should run automatically on:

  • each pullrequest
  • each change in "master" and other relevant branches

the (github) workflow should be encapsulated standalone, not interfering any other/existing workflows

this tooling should be able to run locally

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions