Skip to content

Commit 078f9a3

Browse files
committed
Add lint step to circleci
1 parent 8c3b74e commit 078f9a3

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.circleci/config.yml

+14
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@ general:
55
- /binary-.*/
66

77
jobs:
8+
lint:
9+
docker:
10+
- image: circleci/rust:latest
11+
steps:
12+
- checkout
13+
- run: |
14+
rustup component add clippy
15+
cargo clippy --all -- --deny warnings
16+
format:
17+
docker:
18+
- image: circleci/rust:latest
19+
steps:
20+
- checkout
21+
- run: cargo fmt -- --check
822
build:
923
docker:
1024
- image: autozimu/languageclientneovim

0 commit comments

Comments
 (0)