auto-format #20

Merged
leon merged 143 commits from auto-format into main 2024-02-14 01:18:02 +01:00
Showing only changes of commit 02faa83617 - Show all commits

View File

@ -115,8 +115,8 @@ steps:
- rustup component add rustfmt - rustup component add rustfmt
- cargo fmt --all --check && echo "No formatting required, exiting early..." && exit 0 - cargo fmt --all --check && echo "No formatting required, exiting early..." && exit 0
- cargo fmt --all --verbose - cargo fmt --all --verbose
- apk add git openssh gpg gpg-agent - apk add git openssh gnupg gpg-agent
- '[ $(git log -1 --pretty=%B | grep -E ".+") = "rustfmt" ] && echo "format loop detected, aborting..." && exit 1' - '[ "$(git log -1 --pretty=%B | grep -E ".+")" = "rustfmt" ] && echo "format loop detected, aborting..." && exit 1'
- mkdir -p "$${HOME}/.ssh" - mkdir -p "$${HOME}/.ssh"
- echo "$SSH_PRIVATE_KEY" > "$${HOME}/.ssh/git" - echo "$SSH_PRIVATE_KEY" > "$${HOME}/.ssh/git"