Skip to content

Commit

Permalink
Exclude dev and build deps from license check
Browse files Browse the repository at this point in the history
Dependencies that are only used during build and/or development time
do not need to be included in the license compatibility check.
  • Loading branch information
sophokles73 committed Oct 30, 2024
1 parent 0065882 commit 4b4d6b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/check-dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,12 @@ jobs:
- name: Determine list of 3rd party Rust dependencies
working-directory: ${{github.workspace}}
run: |
cargo tree --manifest-path components/Cargo.toml -e normal --prefix none --no-dedupe --locked \
cargo tree --manifest-path components/Cargo.toml -e no-build,no-dev --prefix none --no-dedupe --locked \
| sort -u \
| grep -v '^[[:space:]]*$' \
| grep -v fms- \
| grep -v influx-client \
| grep -v zenoh \
| sed -E 's|([^ ]+) v([^ ]+).*|crate/cratesio/-/\1/\2|' \
> DEPS.txt
- name: Set up JDK
Expand Down

0 comments on commit 4b4d6b8

Please sign in to comment.