Skip to content

pre-commit action #2

Description

@gvegayon

Pre-commit is used across CFA, yet in many places, it is used in a sort of hacky way. The reason: Renv and all the caching going around that the pre-commit/actions action can't deal with (here is an example). Having this more standardize would be nice! A couple of gotchas I've experienced:

  • The R pre-commit action (here) uses renv. Currently with version R 4.4.1. If anything happens in the runner, this version breaks.
  • Cacheing sort of happens with the pre-commit/action, but only for stuff under the ~/.cache/pre-commit folder. In the case of R, it is mostly symlinks that tend to break.

Metadata

Metadata

Assignees

No one assigned

    Labels

    new actionProposing a new action

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions