Skip to content

~ | Keep fixing formater #4

~ | Keep fixing formater

~ | Keep fixing formater #4

Workflow file for this run

name: format before push
on:
push:
branches:
- main
jobs:
format:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install clang-format
run: sudo apt install -y clang-format
- name: Run clang-format
run: find . -name "*.c" -o -name "*.h" | xargs clang-format -i --style=LLVM