Skip to content

Print clang-format's version #3

Print clang-format's version

Print clang-format's version #3

Workflow file for this run

name: Ubuntu CI (push and/or release)
on:
push:
branches:
- develop
- feature/*
- features/*
- fix/*
- release/*
- doc/*
- dependabot/*
jobs:
build:
name: clang-format
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Print version
run: clang-format --version
- name: clang-format
run: cd src && ./format-code.sh
- name: git diff
run: |
if [[ `git status --porcelain` ]]; then
echo "Code is not well formatted, boo !"
exit 1
else
echo "Code is well formatted, congrats !"
fi