Skip to content

Commit 468aaf9

Browse files
committed
Simplify CI
1 parent 9de13bc commit 468aaf9

File tree

2 files changed

+5
-19
lines changed

2 files changed

+5
-19
lines changed

.circleci/config.yml

-14
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,6 @@ 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
228
build:
239
docker:
2410
- image: autozimu/languageclientneovim

Makefile

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@ all: release
22

33
dev: build fmt clippy vint
44

5-
ci: vint python-lint test integration-test
6-
cargo fmt -- --check
5+
ci: vint python-lint check-fmt-and-clippy test integration-test
76

87
check:
98
cargo check
109

10+
check-fmt-and-clippy: check
11+
cargo fmt -- --check
12+
cargo clippy --all -- --deny warnings
13+
1114
build:
1215
cargo build
1316

1417
fmt:
1518
cargo fmt
1619

17-
clippy:
18-
cargo clippy
19-
2020
vint:
2121
vint autoload plugin
2222

0 commit comments

Comments
 (0)