Skip to content

Commit

Permalink
add format check
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Olbrich <[email protected]>
  • Loading branch information
michaelolbrich committed Jan 17, 2025
1 parent 3a51b4c commit aeddfa7
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: format

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v2

- name: Install required packages
run: |
sudo apt-get install clang-format-16
- name: Check format
run: |
clang-format-16 --dry-run --Werror *.c genimage.h

0 comments on commit aeddfa7

Please sign in to comment.