Commit 76439997 authored by Anant Sharma's avatar Anant Sharma Committed by GitHub
Browse files

ci: fix rust deny workflow (#275)

parent 0db2e6c8
...@@ -81,17 +81,9 @@ jobs: ...@@ -81,17 +81,9 @@ jobs:
run: cargo clippy --no-deps --all-targets -- -D warnings run: cargo clippy --no-deps --all-targets -- -D warnings
- name: Install and Run cargo-deny - name: Install and Run cargo-deny
working-directory: ${{ matrix.dir }} working-directory: ${{ matrix.dir }}
# FIXME: Skip this step for failing dirs until license errors fixed
if: |
matrix.dir != 'examples/rust' &&
matrix.dir != 'applications/llm/count' &&
matrix.dir != 'launch/tio' &&
matrix.dir != 'lib/llm' &&
matrix.dir != 'lib/bindings/c' &&
matrix.dir != 'lib/bindings/python'
run: | run: |
cargo-deny --version || cargo install cargo-deny@0.16.4 cargo-deny --version || cargo install cargo-deny@0.16.4
cargo-deny check --hide-inclusion-graph licenses cargo-deny check --hide-inclusion-graph licenses --config ${{ github.workspace }}/deny.toml
timeout-minutes: 5 timeout-minutes: 5
- name: Run Unit Tests - name: Run Unit Tests
working-directory: ${{ matrix.dir }} working-directory: ${{ matrix.dir }}
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
name = "count" name = "count"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
license = "Apache-2.0"
[dependencies] [dependencies]
# local # local
......
...@@ -27,7 +27,8 @@ allow = [ ...@@ -27,7 +27,8 @@ allow = [
"BSD-3-Clause", "BSD-3-Clause",
"OpenSSL", "OpenSSL",
"Unicode-3.0", "Unicode-3.0",
"BSL-1.0" "BSL-1.0",
"MPL-2.0"
] ]
[[licenses.clarify]] [[licenses.clarify]]
......
...@@ -19,6 +19,7 @@ version = "0.1.0" ...@@ -19,6 +19,7 @@ version = "0.1.0"
edition = "2021" edition = "2021"
authors = ["NVIDIA"] authors = ["NVIDIA"]
homepage = "https://github.com/triton-inference-server/triton_distributed" homepage = "https://github.com/triton-inference-server/triton_distributed"
license = "Apache-2.0"
[features] [features]
mistralrs = ["triton-distributed-llm/mistralrs"] mistralrs = ["triton-distributed-llm/mistralrs"]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment