Skip to content

Rework check-vulnerability to leverage lock file without installing the package #1502

Description

@SMoraisAnsys

Given the recent changes with our way of checking the packages, I think we could update the check-vulnerability action to avoid installing packages. Previously we didn't leverage a requirement file with safety but given that's our way of working now... I think we could simply do something like

uv export --frozen --format requirements-txt -o requirements-for-safety.txt --extra EXTRA_TARGET --no-hashes

and the same is probably available in poetry.

This might require some thoughts to align with the skip-install input logic.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions