Skip to content

git-clang-format lint

Actions
Github Action that check if code is formatted correctly using clang-format
v1.3
Latest
Star (2)

git-clang-format lint action

This action checks if the style of the source code matches the .clang-format file.

Example usage

name: test-clang-format

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
      with:
        fetch-depth: 2
    - uses: yshui/git-clang-format-lint@master

git-clang-format lint is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Github Action that check if code is formatted correctly using clang-format
v1.3
Latest

git-clang-format lint is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.