diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index b00abed..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,20 +0,0 @@ -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