Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci.yml,deny.toml: Setup license testing #735

Merged
merged 5 commits into from
Nov 20, 2023

Conversation

tgonzalezorlandoarm
Copy link
Member

@tgonzalezorlandoarm tgonzalezorlandoarm commented Nov 13, 2023

This PR sets up a CI check for licenses. As we are pulling several crates from crates.io, we need to make sure that the licenses of those crates match the ones that we expect/accept.
We use cargo deny for that.
The deny.toml file has the configuration for accepted licenses, currently:

allow = [ "Apache-2.0", "Apache-2.0 WITH LLVM-exception", "BSD-3-Clause", "ISC", "LicenseRef-ring", "MIT", "Unicode-DFS-2016", ]
Signed-off-by: Tomás González [email protected]

deny.toml Outdated Show resolved Hide resolved
Signed-off-by: Tomás González <[email protected]>
 * Comment them out so as to be able to easily set them up when
   necessary, following the pattern seen by the default deny.toml.

Signed-off-by: Tomás González <[email protected]>
Signed-off-by: Tomás González <[email protected]>
Signed-off-by: Tomás González <[email protected]>
Copy link
Collaborator

@minosgalanakis minosgalanakis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@gowthamsk-arm gowthamsk-arm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gowthamsk-arm gowthamsk-arm merged commit 9f5ff5c into parallaxsecond:main Nov 20, 2023
14 checks passed
@tgonzalezorlandoarm tgonzalezorlandoarm deleted the tg/cargo-deny branch November 21, 2023 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants