Skip to content
code

GitHub Action

Protolint

v0.7.0 Latest version

Protolint

code

Protolint

A tool to enforce Protocol Buffer style and conventions

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Protolint

uses: plexsystems/[email protected]

Learn more about this action in plexsystems/protolint-action

Choose a version

protolint-action

Build Status

A GitHub Action for using protolint in your GitHub Action workflows.

Required inputs

  • configDirectory: the path to where the .protolint.yaml configuration exists.

Example

name: "lint protobuf"
on: pull_request

jobs:
  pr-check:
    runs-on: ubuntu-latest
    steps:
      - name: checkout source
        uses: actions/checkout@v3

      - name: run protolint
        uses: plexsystems/[email protected]
        with:
          configDirectory: test