Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Feature/license and readme #1

Feature/license and readme

Feature/license and readme #1

Workflow file for this run

name: formatter
on:
pull_request:
jobs:
formatter:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.10.6]
steps:
- name: checkout
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- name: install dependencies
run: |
sudo apt-get update
sudo apt-get install -y clang-format
- name: clang-format
run: find . -type f \( -name "*.cpp" -or -name "*.hpp" -or -name "*.h" \) -exec clang-format -i -style=file {} \;
- name: auto commit
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: apply format