Skip to content

Commit

Permalink
Update clang-format-lint.yml (#232)
Browse files Browse the repository at this point in the history
* Update clang-format-lint.yml

* set clang-format version to 14
  • Loading branch information
cieslarmichal authored Nov 10, 2023
1 parent c528d37 commit 6d3782e
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/clang-format-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,21 @@ on:
pull_request:

jobs:

build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: DoozyX/[email protected]
with:
source: '.'
exclude: './externals'
extensions: 'h,cpp'
clangFormatVersion: 15

- name: Install clang format
run: sudo apt install -y clang-format && clang-format --version

- name: Checkout
uses: actions/checkout@v3

- name: Lint
uses: DoozyX/[email protected]
with:
source: '.'
exclude: './externals'
extensions: 'h,cpp'
clangFormatVersion: 14

0 comments on commit 6d3782e

Please sign in to comment.