diff --git a/.github/workflows/ci-cargo-deny.yml b/.github/workflows/ci-cargo-deny.yml index a9a84fc271..ab35b5fbf5 100644 --- a/.github/workflows/ci-cargo-deny.yml +++ b/.github/workflows/ci-cargo-deny.yml @@ -1,5 +1,8 @@ name: ci-cargo-deny -on: [workflow_dispatch] +on: + workflow_dispatch: + pull_request: + jobs: cargo-deny: runs-on: ubuntu-22.04 @@ -7,10 +10,7 @@ jobs: matrix: checks: # - advisories - - licenses - - bans sources - - continue-on-error: ${{ matrix.checks == 'licenses' }} + - licenses bans sources steps: - uses: actions/checkout@v3 diff --git a/cpu-cycles/Cargo.toml b/cpu-cycles/Cargo.toml index 59d2ed52b6..4c234b8d30 100644 --- a/cpu-cycles/Cargo.toml +++ b/cpu-cycles/Cargo.toml @@ -4,9 +4,10 @@ version = "0.1.0" edition = "2021" build = "build.rs" links = "cpucycles" +license = "LicenseRef-PD-hp OR CC0-1.0 OR 0BSD OR MIT-0 OR MIT" [dependencies] libc = "0.2.140" [build-dependencies] -cfg-if = "1" \ No newline at end of file +cfg-if = "1" diff --git a/deny.toml b/deny.toml index 63bf414358..94bd758e59 100644 --- a/deny.toml +++ b/deny.toml @@ -114,6 +114,7 @@ allow = [ "CC0-1.0", "Unicode-DFS-2016", "OpenSSL", + "Zlib", ] # List of explicitly disallowed licenses # See https://spdx.org/licenses/ for list of possible licenses diff --git a/ephemera/Cargo.toml b/ephemera/Cargo.toml index e32fec2746..6221421aab 100644 --- a/ephemera/Cargo.toml +++ b/ephemera/Cargo.toml @@ -2,6 +2,7 @@ name = "ephemera" version = "0.1.0" edition = "2021" +license.workspace = true [[bin]] name = "ephemera" diff --git a/integrations/bity/Cargo.toml b/integrations/bity/Cargo.toml index d2b8e9ee10..16129e0c20 100644 --- a/integrations/bity/Cargo.toml +++ b/integrations/bity/Cargo.toml @@ -3,6 +3,7 @@ name = "nym-bity-integration" version = "0.1.0" edition = "2021" rust-version = "1.56" +license.workspace = true [dependencies] serde = { version = "1", features = ["derive"] } diff --git a/nym-validator-rewarder/Cargo.toml b/nym-validator-rewarder/Cargo.toml index 7b7396babd..0e7d2f6309 100644 --- a/nym-validator-rewarder/Cargo.toml +++ b/nym-validator-rewarder/Cargo.toml @@ -6,7 +6,7 @@ repository.workspace = true homepage.workspace = true documentation.workspace = true edition.workspace = true -license = "GPL-3" +license = "GPL-3.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html