auto-format #20
@ -115,7 +115,7 @@ 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 gnupg gpg-agent
|
- apk add git openssh gpg 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"
|
||||||
@ -128,6 +128,8 @@ steps:
|
|||||||
- echo "$GITEA_ECDSA_SIG" >> "$${HOME}/.ssh/known_hosts"
|
- echo "$GITEA_ECDSA_SIG" >> "$${HOME}/.ssh/known_hosts"
|
||||||
- chmod 700 -R "$${HOME}/.ssh"
|
- chmod 700 -R "$${HOME}/.ssh"
|
||||||
|
|
||||||
|
- gpg --version
|
||||||
|
- gpg-agent --version
|
||||||
- echo "$GPG_PRIVKEY" > /tmp/private.key
|
- echo "$GPG_PRIVKEY" > /tmp/private.key
|
||||||
- gpg-agent -v && gpg --import /tmp/private.key >> /tmp/import.sh || exit 2
|
- gpg-agent -v && gpg --import /tmp/private.key >> /tmp/import.sh || exit 2
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user