Update Codacy badge in README.md #18
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
name: check-include-guards | |
on: [push, pull_request] | |
jobs: | |
include-guards: | |
name: Check include guards | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Check include guard of snowhouse.h | |
uses: sbeyer/[email protected] | |
with: | |
path: include | |
pattern: '{file}' | |
only: 'snowhouse/snowhouse\.h' | |
- name: Check include guards of remaining files | |
uses: sbeyer/[email protected] | |
with: | |
path: include | |
pattern: '{first_dir}_{file}' | |
ignore: 'snowhouse/snowhouse\.h' |