Skip to content

Commit bea9879

Browse files
Add uncrustify to Github CI (#5878) (#5886)
* Refs #23267: Add uncrustify to ci * Refs #23267: Apply Miguels suggestion * Refs #23267: Apply second suggestion --------- (cherry picked from commit 6bae07c) Signed-off-by: Mario Dominguez <[email protected]> Co-authored-by: Mario Domínguez López <[email protected]>
1 parent 83f361e commit bea9879

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/linters.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Fast DDS Linters CI
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize]
6+
7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
9+
cancel-in-progress: true
10+
11+
jobs:
12+
uncrustify:
13+
name: uncrustify
14+
runs-on: ubuntu-22.04
15+
if: ${{ !(github.event_name == 'pull_request') || !contains(github.event.pull_request.labels.*.name, 'conflicts') }}
16+
steps:
17+
- name: Run Uncrustify Linter
18+
uses: eProsima/eProsima-CI/ubuntu/uncrustify@v0

0 commit comments

Comments
 (0)