Skip to content

Support specifying the working directory as a parameter #113

@obi1kenobi

Description

@obi1kenobi

The choice of working directory matters for cargo config. Cargo will start looking for config info in the working directory and walk up from there. Regardless of what --manifest-path is passed to it, cargo cares about the working directory's build configuration.

We need to be able to set a working-directory parameter, in case users have cargo config at the package level of a workspace. Otherwise, the action will run in the default location (likely, the workspace) and won't pick up the relevant config.

We should use the test cases in this project to test: https://github.com/obi1kenobi/c-s-c-testcase-cargo-config-toml

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-actionArea: the action itselfA-docsArea: documentation for the command and lintsC-enhancementCategory: raise the bar on expectationsE-help-wantedCall for participation: Help is requested to fix this issue.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions