Skip to content

Commit

Permalink
Don't install format-specific deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkato committed Oct 15, 2024
1 parent 3a4769d commit 1262efa
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: errata-ai/vale-action@reviewdog
- uses: errata-ai/vale-action@v2.1.0
```
## Repository Structure
Expand Down Expand Up @@ -55,7 +55,7 @@ You can further customize the linting processing by providing one of the followi
To add an input, edit your workflow file and add the `with` key to the `uses` block. For example:

```yaml
- uses: errata-ai/vale-action@reviewdog
- uses: errata-ai/vale-action@v2.1.0
with:
version: 2.17.0
```
Expand Down
5 changes: 0 additions & 5 deletions lib/input.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,6 @@ function logIfDebug(msg) {
*/
function get(tok, dir) {
return __awaiter(this, void 0, void 0, function* () {
logIfDebug('Ensuring core python and ruby dependencies are present');
yield exec.exec('pip', ['install', 'docutils']);
logIfDebug('`pip install docutils` complete');
yield exec.exec('gem', ['install', 'asciidoctor', '--user-install']);
logIfDebug('`gem install asciidoctor --user-install` complete');
const localVale = yield (0, install_1.installLint)(core.getInput('version'));
const localReviewDog = yield (0, install_1.installReviewDog)("0.17.0", core.getInput('reviewdog_url'));
const valeFlags = core.getInput("vale_flags");
Expand Down
8 changes: 0 additions & 8 deletions src/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,6 @@ function logIfDebug(msg: string) {
* Parse our user input and set up our Vale environment.
*/
export async function get(tok: string, dir: string): Promise<Input> {
logIfDebug('Ensuring core python and ruby dependencies are present');

await exec.exec('pip', ['install', 'docutils']);
logIfDebug('`pip install docutils` complete');

await exec.exec('gem', ['install', 'asciidoctor', '--user-install']);
logIfDebug('`gem install asciidoctor --user-install` complete');

const localVale = await installLint(core.getInput('version'));
const localReviewDog = await installReviewDog("0.17.0", core.getInput('reviewdog_url'));
const valeFlags = core.getInput("vale_flags");
Expand Down

0 comments on commit 1262efa

Please sign in to comment.