misc cleanup #65
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#This is a modified version of the clang format check used on Open-PS2-Loader | |
name: CI-cpp-check | |
on: | |
push: | |
paths: | |
- '**.hpp' | |
- '**.cpp' | |
- '**.' | |
- '**.h' | |
- './engine/inc/tyra' | |
- '.github/workflows/check-format.yml' | |
- '.clang-format' | |
pull_request: | |
paths: | |
- '**.hpp' | |
- '**.cpp' | |
- '**.' | |
- '**.h' | |
- './engine/inc/tyra' | |
- '.github/workflows/check-format.yml' | |
- '.clang-format' | |
jobs: | |
check-format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: DoozyX/clang-format-lint-action@v0.12 | |
with: | |
source: '.' | |
extensions: 'hpp, cpp, h' | |
clangFormatVersion: 12 | |
inplace: False |