Skip to content

Review of User Guides section (#1663) #4345

Review of User Guides section (#1663)

Review of User Guides section (#1663) #4345

# This is a workflow to format C/C++ sources with clang-format
name: C++ Code Style
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
pull_request:
push:
branches: [master]
permissions: read-all
jobs:
formatting-check:
name: clang-format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.5
- name: Run clang-format style check for C/C++ programs.
uses: jidicula/clang-format-action@v4.11.0
with:
clang-format-version: '11'
check-path: 'libsyclinterface'
- name: Run clang-format style check for api headers.
uses: jidicula/clang-format-action@v4.11.0
with:
clang-format-version: '11'
check-path: 'dpctl/apis'