Skip to content

Commit 6b6a01f

Browse files
authored
Add cargo deny (#17)
* cargo deny init * add licenses * remove warnings * add to ci * update clap
1 parent 7e6facd commit 6b6a01f

File tree

4 files changed

+363
-29
lines changed

4 files changed

+363
-29
lines changed

.github/workflows/ci.yaml

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Continuous integration
22

33
on:
4-
- push
4+
- push
55

66
jobs:
77
check:
@@ -63,3 +63,12 @@ jobs:
6363
with:
6464
command: clippy
6565
args: -- -D warnings
66+
67+
deny-check:
68+
name: cargo-deny
69+
runs-on: ubuntu-latest
70+
steps:
71+
- uses: actions/checkout@v2
72+
- uses: EmbarkStudios/cargo-deny-action@v1
73+
with:
74+
arguments: --all-features

Cargo.lock

+80-27
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
name = "data-exporter"
33
version = "0.4.0"
44
edition = "2021"
5+
license-file = "LICENCE"
56

67
[dependencies]
78
axum = "0.5"
8-
clap = { version = "3.2", features = ["derive"] }
9+
clap = { version = "4.0", features = ["derive"] }
910
futures = "0.3"
1011
jq-rs = { version = "0.4.1", features = ["bundled"] }
1112
log = "0.4"

0 commit comments

Comments
 (0)