lets try something
All checks were successful
WANessa CI / main (push) Successful in 1m13s

This commit is contained in:
Lukas Langrock 2024-02-20 18:26:50 +01:00
parent 0a14dd411c
commit 7e0ad21a74

View File

@ -36,10 +36,9 @@ jobs:
args: --all
- name: Format project with rustfmt
run: |
# Run format or exit if not required
cargo fmt --all --check && echo "No formatting required, exiting early..." && exit 0
cargo fmt --all --verbose
# Check for format loop
'[ "$(git log -1 --pretty=%B | grep -E ".+")" = "rustfmt" ] && echo "format loop detected, aborting..." && exit 1'