From f56b0823fcf12510dfb141ac21113ea36d2e0c47 Mon Sep 17 00:00:00 2001 From: Mergen Imeev Date: Tue, 24 Dec 2024 14:42:22 +0300 Subject: [PATCH] proto: add CI This patch enables CI for proto files. --- .github/workflows/lint.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/lint.yaml diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml new file mode 100644 index 0000000..111cd6f --- /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/*.proto