Skip to content

Merge pull request #34 from Nighty3098/main #21

Merge pull request #34 from Nighty3098/main

Merge pull request #34 from Nighty3098/main #21

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 }}