Docs changes #44
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: PR C++ format 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: | |
name: Check clang format | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: DoozyX/[email protected] | |
with: | |
source: '.' | |
extensions: 'hpp, cpp, h' | |
clangFormatVersion: 12 | |
inplace: False |