Logo white

Peter M. Groen / TrueMQTT-cpp

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • TrueMQTT-cpp
  • .github
  • workflows
  • clang-format.yaml
  • chore(ci): add a code-format checker
    0366d799
    Patric Stout authored
    2022-10-23 12:33:15 +0200  
    Browse Code ยป
clang-format.yaml 350 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
name: Code formatting

on:
  push:
    branches:
    - main
  pull_request:
    branches:
    - main

jobs:
  clang_format:
    name: Code formatting
    runs-on: ubuntu-latest

    steps:
    - name: Checkout
      uses: actions/checkout@v3

    - name: Check code format
      run: |
        clang-format-12 src/* example/*/*.cpp --dry-run -Werror