mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-11-20 09:01:39 -08:00
24 lines
583 B
YAML
24 lines
583 B
YAML
name: Format
|
|
on: [push, pull_request]
|
|
jobs:
|
|
formatting-check:
|
|
name: Formatting check
|
|
runs-on: ubuntu-latest
|
|
if: ${{ vars.APK_ONLY == '' }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
path:
|
|
- 'client'
|
|
- 'server'
|
|
- 'dashboard'
|
|
- 'common'
|
|
- 'tools/wireshark'
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Run clang-format style check for C/C++/Protobuf programs.
|
|
uses: jidicula/[email protected]
|
|
with:
|
|
clang-format-version: '18'
|
|
check-path: ${{ matrix.path }}
|