/protolint-action

A GitHub Action for using protolint

Primary LanguageDockerfileMIT LicenseMIT

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@v1

    - name: run protolint
      uses: plexsystems/protolint-action@v0.2.0
      with:
        configDirectory: test