[#66] .forgejo: Make 'fmt' job fail on changed files

Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
This commit is contained in:
Aleksey Savchuk 2024-09-12 21:44:19 +03:00
parent 83f2fc5944
commit b2f5205976
No known key found for this signature in database

View file

@ -12,4 +12,6 @@ jobs:
apt update apt update
apt install -y clang-format apt install -y clang-format
- name: Run fmt - name: Run fmt
run: make fmt run: |
make fmt
git diff --exit-code --quiet