Skip to content

Refactor prerequisite installation#110

Merged
jdkato merged 1 commit intovale-cli:reviewdogfrom
dcousineau:dcousineau/refactor-action-prereq-install
Oct 11, 2023
Merged

Refactor prerequisite installation#110
jdkato merged 1 commit intovale-cli:reviewdogfrom
dcousineau:dcousineau/refactor-action-prereq-install

Conversation

@dcousineau
Copy link
Contributor

Removes the usage of the pre lifecycle and instead installs core pip and gem dependencies during the regular main lifecycle. This allows GitHub action workflows to manually setup python or ruby as necessary as the pre lifecycle runs before ALL jobs attempt to execute, and self-hosted runners may not have python or ruby available.

Closes #109

- Remove `pre.ts` and merge into `main.ts`
- Ensures prerequisite installation happens at the same time that
  vale-action runs, allowing manual installation of ruby/python
- Adds additional debugging outputs
@jdkato jdkato merged commit c99f2df into vale-cli:reviewdog Oct 11, 2023
@jdkato
Copy link
Member

jdkato commented Oct 11, 2023

Thanks!

Ideally, I'd like to not have to install these at all since they're only required in certain situations (AsciiDoc and/or reStructuredText files). But since they were included in the Docker-based Action (#105), removing them would have been a breaking change.

@a7i
Copy link

a7i commented Oct 27, 2023

@jdkato any chance you're open to creating a new release for this? Thanks!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Current version of vale-action doesn't run on self-hosted runners

3 participants