proto: add CI #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: lint | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- '**' | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
protobuf: | |
runs-on: ubuntu-20.04-self-hosted | |
container: | |
image: docker.io/tarantool/testing:ubuntu-focal | |
steps: | |
- name: Prepare checkout | |
uses: tarantool/actions/prepare-checkout@master | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install clang-format | |
run: | | |
apt-get update | |
apt-get -y install clang-format | |
- name: Generate make files | |
run: cmake . | |
- name: Checking protobuf syntax | |
run: clang-format --dry-run --verbose -Werror *.proto |