Skip to content

CI: Upgrade clang-format-check action v3.3.0 -> v4.11.0 #4

CI: Upgrade clang-format-check action v3.3.0 -> v4.11.0

CI: Upgrade clang-format-check action v3.3.0 -> v4.11.0 #4

Workflow file for this run

name: PR-Checks
on: [pull_request]
jobs:
pr-checks:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Check line endings
uses: erclu/check-crlf@v1
- 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: '(3rdparty/*|build/*)'