Skip to content

Commit

Permalink
Automatically bundle third party licenses.
Browse files Browse the repository at this point in the history
  • Loading branch information
joaander committed May 28, 2024
1 parent 6dd348c commit ef81ee7
Show file tree
Hide file tree
Showing 3 changed files with 11,268 additions and 486 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ env:
MDBOOK_VERSION: 0.4.37
LINKCHECK_VERSION: 0.7.7
RUST_LATEST_VERSION: 1.78.0
BUNDLE_LICENSES_VERSION: 1.3.0

jobs:
unit_test:
Expand Down Expand Up @@ -128,6 +129,12 @@ jobs:
run: mdbook build doc
env:
RUST_LOG: "mdbook=info,linkcheck=warn,reqwest=debug"
- name: Install cargo-bundle-licenses
run: |
curl -sSL "https://github.com/sstadick/cargo-bundle-licenses/releases/download/v$BUNDLE_LICENSES_VERSION/cargo-bundle-licenses-linux-amd64" -o "$HOME/.cargo/bin/cargo-bundle-licenses"
chmod a+x "$HOME/.cargo/bin/cargo-bundle-licenses"
- name: Check bundled licenses
run: cargo bundle-licenses --format yaml --output CI.yaml --previous THIRDPARTY.yaml --check-previous

tests_complete:
name: All tests
Expand Down
Loading

0 comments on commit ef81ee7

Please sign in to comment.