Skip to content

Commit

Permalink
+ | Create workfows in a dir
Browse files Browse the repository at this point in the history
  • Loading branch information
BolvicBolvicovic authored Sep 13, 2024
1 parent 7cde906 commit 1b63b0e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
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: clang-format --style=LLVM **/*.c **/*.h

0 comments on commit 1b63b0e

Please sign in to comment.