Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor prerequisite installation #110

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 errata-ai: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