auto-format #20
@ -101,7 +101,7 @@ steps:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: format
|
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
|
||||||
@ -112,7 +112,7 @@ steps:
|
|||||||
- 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 --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
|
- apk add git
|
||||||
- git add *
|
- git add *
|
||||||
|
Reference in New Issue
Block a user