Skip to content

Clang format in the CI #2

Clang format in the CI

Clang format in the CI #2

Workflow file for this run

name: Clang formatting checker
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
build:
runs-on: ubuntu-latest
env:
DRY: "TRUE"
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
# Dependecies needed only for Linux - Modbus Communication
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y clang-format
- name: Build
run: DRY=TRUE bash reformat-all.sh