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