Skip to content

Commit

Permalink
clang-format in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
flomnes committed Jun 25, 2024
1 parent b6c0185 commit f4395c0
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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: clang-format
run: cd src && ./format-code.sh

- name: git diff
run: |
if [[ `git status --porcelain` ]]; then
echo OK
else
echo KO
fi

0 comments on commit f4395c0

Please sign in to comment.