File tree Expand file tree Collapse file tree 9 files changed +25
-2
lines changed
duplicate_mutable_accounts/.cargo
insecure_account_close/.cargo
missing_owner_check/.cargo
missing_signer_check/.cargo Expand file tree Collapse file tree 9 files changed +25
-2
lines changed Original file line number Diff line number Diff line change 13
13
steps :
14
14
- uses : actions/checkout@v2
15
15
16
+ - name : Install dylint-link
17
+ run : cargo install dylint-link
18
+
16
19
- name : Prettier
17
20
run : |
18
21
npm install -g prettier && prettier --check '**/*.md' '**/*.yml'
Original file line number Diff line number Diff line change 1
- target /
1
+ / target
Original file line number Diff line number Diff line change
1
+ [build ]
2
+ target-dir = " ../../target"
3
+
1
4
[target .aarch64-apple-darwin ]
2
5
linker = " dylint-link"
3
6
Original file line number Diff line number Diff line change
1
+ [build ]
2
+ target-dir = " ../../target"
3
+
1
4
[target .aarch64-apple-darwin ]
2
5
linker = " dylint-link"
3
6
Original file line number Diff line number Diff line change
1
+ [build ]
2
+ target-dir = " ../../target"
3
+
1
4
[target .aarch64-apple-darwin ]
2
5
linker = " dylint-link"
3
6
Original file line number Diff line number Diff line change
1
+ [build ]
2
+ target-dir = " ../../target"
3
+
1
4
[target .aarch64-apple-darwin ]
2
5
linker = " dylint-link"
3
6
Original file line number Diff line number Diff line change
1
+ [build ]
2
+ target-dir = " ../../target"
3
+
1
4
[target .aarch64-apple-darwin ]
2
5
linker = " dylint-link"
3
6
Original file line number Diff line number Diff line change
1
+ [build ]
2
+ target-dir = " ../../target"
3
+
1
4
[target .aarch64-apple-darwin ]
2
5
linker = " dylint-link"
3
6
Original file line number Diff line number Diff line change @@ -14,7 +14,9 @@ WORKSPACE="$(realpath "$SCRIPTS"/..)"
14
14
cd " $WORKSPACE "
15
15
16
16
for X in . lints/* ; do
17
- cargo clippy --manifest-path " $X " /Cargo.toml --workspace --tests -- \
17
+ pushd " $X "
18
+ cargo clippy --workspace --tests -- \
18
19
-D warnings \
19
20
-W clippy::pedantic
21
+ popd
20
22
done
You can’t perform that action at this time.
0 commit comments