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