Skip to content

[ci] Fix cargo-deny config for v2 compatibility #95

@copyleftdev

Description

@copyleftdev

Problem

CI is failing on the cargo-deny license check step with two errors:

  1. unmaintained = "warn" in [advisories] — cargo-deny v2 changed this field to expect values from ["all", "workspace", "transitive", "none"]
  2. BSL-1.1 in [licenses].allow — not a recognized SPDX identifier

Fix

  1. Remove deprecated unmaintained and yanked fields from [advisories]
  2. Remove BSL-1.1 from the allow list
  3. Add [licenses.private] section with ignore = true to skip license checks on workspace crates

Acceptance Criteria

  • cargo-deny check licenses passes
  • CI passes green on develop

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope:ciCI/CD pipelines and automationtype:bugSomething is broken

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions