Merge pull request #1263 from micahsnyder/lzh-delharc-crc-check-fix #2469
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: clang-format | |
# Controls when the action will run. Triggers the workflow on push or pull request | |
# events but only for the master branch | |
on: | |
push: | |
branches: | |
- rel/* | |
- dev/* | |
- main | |
pull_request: | |
branches: | |
- rel/* | |
- dev/* | |
- main | |
jobs: | |
formatting-check: | |
name: check | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
path: | |
- check: "libclamav" | |
exclude: "(iana_cctld|bytecode_api_|bytecode_hooks|rijndael|yara|inffixed|inflate|queue|nsis|7z|regex|c++|generated)" | |
- check: "libfreshclam" | |
exclude: "" | |
- check: "clamav-milter" | |
exclude: "" | |
- check: "clambc" | |
exclude: "" | |
- check: "clamconf" | |
exclude: "" | |
- check: "clamd" | |
exclude: "" | |
- check: "clamdscan" | |
exclude: "" | |
- check: "clamdtop" | |
exclude: "" | |
- check: "clamonacc" | |
exclude: "(c-thread-pool|fts|priv_fts)" | |
- check: "clamscan" | |
exclude: "" | |
- check: "clamsubmit" | |
exclude: "" | |
- check: "freshclam" | |
exclude: "" | |
- check: "libfreshclam" | |
exclude: "" | |
- check: "common" | |
exclude: "" | |
- check: "sigtool" | |
exclude: "" | |
- check: "examples" | |
exclude: "" | |
- check: "win32/compat" | |
exclude: "" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run clang-format style check for C/C++ programs. | |
uses: jidicula/[email protected] | |
with: | |
clang-format-version: "16" | |
check-path: ${{ matrix.path['check'] }} | |
exclude-regex: ${{ matrix.path['exclude'] }} |