auto-format #20
26
.drone.yml
26
.drone.yml
@ -117,19 +117,19 @@ kind: pipeline
|
|||||||
name: format
|
name: format
|
||||||
steps:
|
steps:
|
||||||
- name: Format Project with rustfmt
|
- name: Format Project with rustfmt
|
||||||
image: rust:1.71.1-alpine
|
image: rust:1.71.1-alpine
|
||||||
commands:
|
commands:
|
||||||
- rustc --version
|
- rustc --version
|
||||||
- cargo --version
|
- cargo --version
|
||||||
# Stupid workarounds, for stupid problems
|
# Stupid workarounds, for stupid problems
|
||||||
- echo "nameserver 1.1.1.1" >> /etc/resolv.conf
|
- echo "nameserver 1.1.1.1" >> /etc/resolv.conf
|
||||||
- echo "nameserver 1.0.0.1" >> /etc/resolv.conf
|
- echo "nameserver 1.0.0.1" >> /etc/resolv.conf
|
||||||
- rustup component add rustfmt
|
- rustup component add rustfmt
|
||||||
- cargo fmt --all --verbose
|
- cargo fmt --all --verbose
|
||||||
- git add *
|
- git add *
|
||||||
- git status
|
- git status
|
||||||
- git commit -m "rustfmt"
|
- git commit -m "rustfmt"
|
||||||
- git push
|
- git push
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- amd64 [debug]
|
- amd64 [debug]
|
||||||
|
Reference in New Issue
Block a user