DOCS(protocol): Add network protocol doc file #3740
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: PR-Checks | |
on: [pull_request] | |
jobs: | |
pr-checks: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Install Python | |
run: sudo apt install python3 | |
shell: bash | |
- uses: actions/checkout@v4 | |
with: | |
# Assume that there are not >200 new commits that need checking | |
fetch-depth: 200 | |
submodules: 'recursive' | |
# Don't create a merge commit | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Check commit style | |
run: $GITHUB_WORKSPACE/.github/workflows/check_commit_style.py ${{ github.base_ref }} | |
shell: bash | |
- name: Check line endings | |
uses: erclu/check-crlf@v1 | |
with: | |
exclude: '3rdparty/' | |
- uses: ./.github/actions/install-dependencies | |
with: | |
type: shared | |
os: ${{ matrix.os }} | |
arch: 64bit | |
- name: Generate compile-command DB | |
run: mkdir build; cd build; cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ..; cd ..; ln -s build/compile_commands.json . | |
shell: bash | |
- name: Check code formatting | |
uses: jidicula/[email protected] | |
with: | |
clang-format-version: '10' | |
check-path: '.' | |
exclude-regex: '(\\.git/.*|3rdparty/.*|build/.*|.*proto$)' |