Skip to content

Commit

Permalink
Create languagetool.yml
Browse files Browse the repository at this point in the history
Signed-off-by: SkandaBT <[email protected]>
  • Loading branch information
skanda890 authored Aug 11, 2024
1 parent 8c34805 commit d80be18
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/languagetool.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: LanguageTool Check

on: [push, pull_request]

jobs:
languagetool:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Java
uses: actions/setup-java@v2
with:
java-version: '11'

- name: Download LanguageTool
run: |
wget https://languagetool.org/download/LanguageTool-stable.zip
unzip LanguageTool-stable.zip -d languagetool
- name: Run LanguageTool
run: |
java -jar languagetool/languagetool-commandline.jar --language en-US --recursive .

0 comments on commit d80be18

Please sign in to comment.