Skip to content

Commit

Permalink
proto: add CI
Browse files Browse the repository at this point in the history
This patch enables CI for proto files.
  • Loading branch information
ImeevMA committed Dec 24, 2024
1 parent 9178a3f commit f56b082
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f56b082

Please sign in to comment.