File tree Expand file tree Collapse file tree 13 files changed +238
-28
lines changed Expand file tree Collapse file tree 13 files changed +238
-28
lines changed Original file line number Diff line number Diff line change 33
33
# Local variables
34
34
# Note: using variables is limited at the moment, see https://github.com/actions/runner/issues/480
35
35
GDRUST_FEATURES : " gdnative/async,gdnative/serde"
36
+ CARGO_DENY_VERSION : " 0.11.0"
36
37
37
38
on :
38
39
push :
78
79
- name : " Check clippy"
79
80
run : cargo clippy --workspace --features ${GDRUST_FEATURES} -- -D clippy::style -D clippy::complexity -D clippy::perf -D clippy::dbg_macro -D clippy::todo -D clippy::unimplemented;
80
81
82
+ cargo-deny :
83
+ runs-on : ubuntu-latest
84
+ needs : rustfmt
85
+ steps :
86
+ - uses : actions/checkout@v2
87
+ # Note: manually downloading is ~30s faster than https://github.com/EmbarkStudios/cargo-deny-action
88
+ - name : " Install cargo-deny"
89
+ run : |
90
+ wget --no-verbose https://github.com/EmbarkStudios/cargo-deny/releases/download/$CARGO_DENY_VERSION/cargo-deny-$CARGO_DENY_VERSION-x86_64-unknown-linux-musl.tar.gz -O cargo-deny.tar.gz
91
+ tar -zxvf cargo-deny.tar.gz
92
+ mkdir -p $HOME/.cargo/bin
93
+ mv cargo-deny-$CARGO_DENY_VERSION-x86_64-unknown-linux-musl/cargo-deny $HOME/.cargo/bin
94
+ - name : " Check cargo-deny"
95
+ run : cargo deny check --config tools/deny.toml
96
+
81
97
test :
82
98
name : test-${{ matrix.os.name }}${{ matrix.rust.postfix }}
83
99
needs : rustfmt
@@ -271,6 +287,7 @@ jobs:
271
287
needs :
272
288
# - rustfmt
273
289
- clippy
290
+ - cargo-deny
274
291
- test
275
292
- integration-test-godot
276
293
- build-release
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ version = "0.1.0"
4
4
authors = [" The godot-rust developers" ]
5
5
publish = false
6
6
edition = " 2018"
7
+ license = " MIT"
7
8
8
9
[lib ]
9
10
crate-type = [" cdylib" ]
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ version = "0.1.0"
4
4
authors = [" The godot-rust developers" ]
5
5
publish = false
6
6
edition = " 2018"
7
+ license = " MIT"
7
8
8
9
[lib ]
9
10
crate-type = [" cdylib" ]
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ version = "0.1.0"
4
4
authors = [" The godot-rust developers" ]
5
5
publish = false
6
6
edition = " 2018"
7
+ license = " MIT"
7
8
8
9
[lib ]
9
10
crate-type = [" cdylib" ]
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ version = "0.1.0"
4
4
authors = [" The godot-rust developers" ]
5
5
publish = false
6
6
edition = " 2018"
7
+ license = " MIT"
7
8
8
9
[lib ]
9
10
crate-type = [" cdylib" ]
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ version = "0.1.0"
4
4
authors = [" The godot-rust developers" ]
5
5
publish = false
6
6
edition = " 2018"
7
+ license = " MIT"
7
8
8
9
[lib ]
9
10
crate-type = [" cdylib" ]
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ version = "0.1.0"
4
4
authors = [" The godot-rust developers" ]
5
5
publish = false
6
6
edition = " 2018"
7
+ license = " MIT"
7
8
8
9
[lib ]
9
10
crate-type = [" cdylib" ]
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ version = "0.1.0"
4
4
authors = [" The godot-rust developers" ]
5
5
publish = false
6
6
edition = " 2018"
7
+ license = " MIT"
7
8
8
9
[lib ]
9
10
crate-type = [" cdylib" ]
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ version = "0.1.0"
4
4
authors = [" The godot-rust developers" ]
5
5
edition = " 2018"
6
6
publish = false
7
+ license = " MIT"
7
8
8
9
[lib ]
9
10
crate-type = [" cdylib" ]
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ version = "0.1.0"
4
4
authors = [" The godot-rust developers" ]
5
5
publish = false
6
6
edition = " 2018"
7
+ license = " MIT"
7
8
8
9
[lib ]
9
10
crate-type = [" cdylib" ]
You can’t perform that action at this time.
0 commit comments