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