Skip to content

Create build_project.yml #14

Create build_project.yml

Create build_project.yml #14

Workflow file for this run

name: Run clang-format Linter
on: [push, pull_request, fork]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: DoozyX/clang-format-lint-action@v0.16.2
with:
source: '.'
exclude: './src/CodeKeeper/3rdParty'
extensions: 'h,cpp,c'
clangFormatVersion: 16
inplace: True
- uses: EndBug/add-and-commit@v9
with:
author_name: Nighty3098
author_email: night3098game@gmail.com
message: 'Committing clang-format changes'
env:
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}