Skip to content

Add Github Actions for Format + Testing #21

Add Github Actions for Format + Testing

Add Github Actions for Format + Testing #21

Workflow file for this run

name: Clang Format
on:
push:
branches: [ main ]
pull_request:
jobs:
clang-format:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
timeout-minutes: 1
strategy:
matrix:
path:
- 'cxx'
- 'cxx/distributions'
- 'cxx/tests'
steps:
- name: Checking out repository
uses: actions/checkout@v4
- name: Run clang-format.
uses: jidicula/[email protected]
with:
clang-format-version: '18'
check-path: ${{ matrix.path }}