Skip to content

Commit

Permalink
[gh_actions] modified static analysis yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
gabekz committed Dec 5, 2023
1 parent 4ac1e73 commit 7c4eab2
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions .github/workflows/static_analysis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
name: 📊 Static Analysis

on:
workflow_call:
on: [push, pull_request]

jobs:
formatting-check:
name: format check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/clang-format-action@v4.10.1
with:
clang-format-version: '13'
check-path: 'src'
strategy:
matrix:
path:
- check: 'goodsack/gsk'
exclude: '(thirdparty|__generated__)'
- check: 'demo'
exclude: '' # Nothing to exclude
steps:
- uses: actions/checkout@v3
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/clang-format-action@v4.10.1
with:
clang-format-version: '13'
check-path: 'src'

0 comments on commit 7c4eab2

Please sign in to comment.