Skip to content

Commit

Permalink
test clang-format action
Browse files Browse the repository at this point in the history
  • Loading branch information
freasy committed Oct 1, 2023
1 parent b5ca711 commit 0cb1872
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions .clang-format-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
./Mcu/**/Drivers/*
14 changes: 14 additions & 0 deletions .github/workflows/clang-format.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Create draft release on tag
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: clang-format lint
uses: DoozyX/[email protected]
with:
style: GNU
source: '.'
extensions: 'h,c'
clangFormatVersion: 16

0 comments on commit 0cb1872

Please sign in to comment.