Skip to content

Commit

Permalink
More verbose output for clang action
Browse files Browse the repository at this point in the history
  • Loading branch information
AKuHAK authored Jun 24, 2021
1 parent eed469e commit 1b2e94b
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions .github/workflows/check-format.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,29 @@

name: CI-format-check

on:
push:
paths:
- '**.h'
- '**.c'
- '.github/workflows/check-format.yml'
- '.clang-format'
pull_request:
paths:
- '**.h'
- '**.c'
- '.github/workflows/check-format.yml'
- '.clang-format'

jobs:
check-format:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
shell: bash
run: sudo apt-get install git make clang-format

steps:
- uses: actions/checkout@v2

- name: Check format -> make format-check
run: make format-check
- uses: DoozyX/clang-format-lint-action@v0.12
with:
source: '.'
extensions: 'h,c'
clangFormatVersion: 12
inplace: False

0 comments on commit 1b2e94b

Please sign in to comment.