From 168ba2ca5b0236bdb22dbf9f9bd700b88f9fbd07 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 6 Apr 2022 08:27:52 +0200 Subject: [PATCH] Create lint.yml --- .github/workflows/lint.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..b57dbea --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,14 @@ +name: Linter + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: DoozyX/clang-format-lint-action@v0.13 + with: + source: '.' + extensions: 'h,cpp,c' + clangFormatVersion: 12