From c60b278b1940415467610335b864342aea2abff7 Mon Sep 17 00:00:00 2001 From: Ivan Gagarinov Date: Fri, 12 Jul 2024 14:03:58 +0500 Subject: [PATCH] add languagetool --- .github/workflows/check.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/check.yml diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 00000000..502e21ea --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,22 @@ +name: Languagetool + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + main: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Check + uses: addnab/docker-run-action@v3 + with: + image: hexlet/languagetool-cli:latest + options: -v ${{ github.workspace }}/modules:/content + run: node ./bin/run.js check /content/**/*.md