auto-format #20
@ -105,9 +105,6 @@ name: rustfmt
|
|||||||
steps:
|
steps:
|
||||||
- name: Format Project with rustfmt
|
- name: Format Project with rustfmt
|
||||||
image: rust:1.71.1-alpine
|
image: rust:1.71.1-alpine
|
||||||
environment:
|
|
||||||
WANESSA_EMAIL_ADDRESS:
|
|
||||||
from_secret: WANESSA_EMAIL_ADDRESS
|
|
||||||
commands:
|
commands:
|
||||||
- rustc --version
|
- rustc --version
|
||||||
- cargo --version
|
- cargo --version
|
||||||
@ -121,12 +118,15 @@ steps:
|
|||||||
- echo "$WANESSA_SSH_PRIVKEY" > /tmp/ssh
|
- echo "$WANESSA_SSH_PRIVKEY" > /tmp/ssh
|
||||||
- git config --local core.sshCommand "/usr/bin/sh -i /tmp/ssh"
|
- git config --local core.sshCommand "/usr/bin/sh -i /tmp/ssh"
|
||||||
- git config --local user.name "WANessa"
|
- git config --local user.name "WANessa"
|
||||||
- git config --local user.email "$WANESSA_EMAIL_ADDRESS"
|
- git config --local user.email "$GIT_EMAIL_ADDRESS"
|
||||||
- git add *
|
- git add *
|
||||||
- git status
|
- git status
|
||||||
- git commit -m "rustfmt"
|
- git commit -m "rustfmt"
|
||||||
- cat .git/config
|
- cat .git/config
|
||||||
- git push origin
|
- git push origin
|
||||||
|
environment:
|
||||||
|
GIT_EMAIL_ADDRESS:
|
||||||
|
from_secret: WANESSA_EMAIL_ADDRESS
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- amd64 [debug]
|
- amd64 [debug]
|
||||||
|
Reference in New Issue
Block a user