File tree Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 70
70
toolchain : ${{ env.RUST_TOOLCHAIN }}
71
71
- name : Run cargo check
72
72
run : |
73
- cargo check --all --tests
73
+ cargo check --workspace -- all-targets --all-features
74
74
75
75
# [impl->req~up-language-ci-linter~1]
76
76
fmt :
85
85
components : rustfmt
86
86
- name : Run cargo fmt
87
87
run : |
88
- cargo fmt --all -- -- check
88
+ cargo fmt --all --check
89
89
90
90
# [impl->req~up-language-ci-linter~1]
91
91
clippy :
@@ -101,7 +101,7 @@ jobs:
101
101
- name : Run cargo clippy
102
102
run : |
103
103
cargo clippy --version
104
- cargo clippy --tests --examples
104
+ cargo clippy --all-targets --all-features --no-deps -- -W warnings -D warnings
105
105
106
106
# [impl->req~up-language-ci-api-docs~1]
107
107
docu :
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- cargo fmt -- --check
4
- cargo clippy --all-targets -- -W warnings -D warnings
5
- cargo doc -p up-rust --no-deps
3
+ echo " Running cargo fmt --check"
4
+ cargo fmt --all --check
5
+
6
+ echo " "
7
+ echo " Running cargo clippy"
8
+ cargo clippy --all-targets --all-features --no-deps -- -W warnings -D warnings
9
+
10
+ echo " "
11
+ echo " Running cargo doc"
12
+ cargo doc --no-deps --all-features
You can’t perform that action at this time.
0 commit comments