From 6e12ef183eecaf86301898a4e5e9a4854b721375 Mon Sep 17 00:00:00 2001 From: Ivan Gagarinov Date: Fri, 12 Jul 2024 14:31:34 +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 0000000..502e21e --- /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