Skip to content

[pdq] Replace POSIX dependent functions with STL equivalent (#1333) #21

[pdq] Replace POSIX dependent functions with STL equivalent (#1333)

[pdq] Replace POSIX dependent functions with STL equivalent (#1333) #21

# Copyright (c) Meta Platforms, Inc. and affiliates.
# From: https://github.com/marketplace/actions/clang-format-check#multiple-paths
name: pdq clang-format Check
on:
push:
branches:
- main
paths:
- "pdq/cpp/**"
- ".github/workflows/pdq-ci-cpp-format.yml"
pull_request:
branches:
- main
paths:
- "pdq/cpp/**"
- ".github/workflows/pdq-ci-cpp-format.yml"
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run clang-format style check for C/C++ programs.
uses: jidicula/clang-format-action@v4.6.2
with:
clang-format-version: '14'
check-path: 'pdq/cpp'
exclude-regex: 'CImg\.h'