File tree Expand file tree Collapse file tree 1 file changed +19
-3
lines changed
Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change 1111
1212jobs :
1313 check :
14-
1514 runs-on : ubuntu-latest
1615
1716 steps :
4241 args : --tests
4342
4443 test :
45-
4644 runs-on : ubuntu-latest
47-
4845 name : test
4946
5047 steps :
6663 - name : Run doctests
6764 run : cargo +stable test --doc --verbose
6865
66+ thirdparty-license :
67+ name : Check Datadog third-party license file
68+ runs-on : ubuntu-latest
69+ steps :
70+ - uses : actions/checkout@v4
71+ - name : Install Rust toolchain
72+ uses : dtolnay/rust-toolchain@stable
73+
74+ - name : Cache cargo tools
75+ uses : actions/cache@v4
76+ with :
77+ path : ~/.cargo/bin
78+ key : ${{ runner.os }}-cargo-tools-${{ hashFiles('**/Cargo.lock') }}
79+
80+ - name : Install dd-rust-license-tool
81+ run : dd-rust-license-tool --help || cargo install dd-rust-license-tool
82+
83+ - name : Check Datadog third-party license file
84+ run : dd-rust-license-tool check
You can’t perform that action at this time.
0 commit comments