diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3839c91a..79df09ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,3 +51,18 @@ jobs: - name: ${{ matrix.check }} run: ${{ matrix.check }} + + - name: Install cargo-about + uses: baptiste0928/cargo-install@v1 + with: + crate: cargo-about + version: "0.5" + + - name: Run license check + run: cargo about generate about.hbs > license.html + + - name: Archive license file + uses: actions/upload-artifact@v3 + with: + name: license + path: license.html \ No newline at end of file diff --git a/about.hbs b/about.hbs new file mode 100644 index 00000000..7356a91a --- /dev/null +++ b/about.hbs @@ -0,0 +1,70 @@ + + + + + + + +
+
+

Third Party Licenses

+

This page lists the licenses of the projects used in 'Integritee Networks Pallets' repository.

+
+ +

Overview of licenses:

+ + +

All license text:

+ +
+ + + diff --git a/about.toml b/about.toml new file mode 100644 index 00000000..cdbba0fb --- /dev/null +++ b/about.toml @@ -0,0 +1,16 @@ +accepted = [ + "Apache-2.0", + "MIT", + "BSD-2-Clause", + "CC0-1.0", + "BSD-3-Clause", + "MPL-2.0", + "ISC", + "OpenSSL", + "Unicode-DFS-2016" +] +ignore-dev-dependencies = true +ignore-build-dependencies = true +workarounds = [ + "ring", +]