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 b005d0dd45 - Show all commits

View File

@ -114,8 +114,8 @@ steps:
- rustup component add rustfmt
- cargo fmt --all --check && echo "No formatting required, exiting early..." && exit 0
- cargo fmt --all --verbose
- apk add git util-linux openssh
- echo "$WANESSA_SSH_PRIVKEY" > /tmp/ssh
- apk add git openssh
- echo "$SSH_PRIVATE_KEY" > /tmp/ssh
- git config --local core.sshCommand "/usr/bin/ssh -i /tmp/ssh"
- git config --local user.name "WANessa"
- git config --local user.email "$GIT_EMAIL_ADDRESS"
@ -123,10 +123,10 @@ steps:
- git add *
- git status
- git commit -m "rustfmt"
- ssh -V
- whereis ssh
- git push ssh
environment:
SSH_PRIVATE_KEY:
from_secret: WANESSA_SSH_PRIVKEY
GIT_EMAIL_ADDRESS:
from_secret: WANESSA_EMAIL_ADDRESS