diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml new file mode 100644 index 0000000..75b9339 --- /dev/null +++ b/.github/workflows/lint.yaml @@ -0,0 +1,23 @@ +name: lint + +on: + push: + branches: + - master + tags: + - '**' + pull_request: + workflow_dispatch: + +jobs: + protobuf: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Check clang-format + run: clang-format --version + + - name: Checking protobuf syntax + run: clang-format --dry-run --verbose -Werror *.proto