mirror of https://codeberg.org/topola/topola.git
add lint step with cargo fmt
This commit is contained in:
parent
181eaa7e2c
commit
1302c91b7b
|
|
@ -0,0 +1,11 @@
|
|||
steps:
|
||||
test:
|
||||
image: rust
|
||||
environment:
|
||||
RUST_BACKTRACE: 1
|
||||
CARGO_TERM_COLOR: always
|
||||
commands:
|
||||
- rustup default stable
|
||||
- cargo fmt --check
|
||||
when:
|
||||
event: [pull_request, push, tag]
|
||||
Loading…
Reference in New Issue