From 6dc0efd1097024d8b8c895ae094578bd0993d42e Mon Sep 17 00:00:00 2001 From: Kirill Mokevnin Date: Fri, 8 Dec 2023 15:22:50 -0500 Subject: [PATCH] add LT Signed-off-by: Kirill Mokevnin --- Makefile | 18 +++++++++--------- action.yml | 14 ++++++++++++-- 2 files changed, 21 insertions(+), 11 deletions(-) diff --git a/Makefile b/Makefile index 29d5fee..1027bd6 100644 --- a/Makefile +++ b/Makefile @@ -3,32 +3,32 @@ compose-setup: compose-build compose: - docker-compose up + docker compose up compose-bash: - docker-compose run exercises bash + docker compose run exercises bash compose-build: - docker-compose build + docker compose build compose-test: - docker-compose run exercises make test + docker compose run exercises make test compose-code-lint: - docker-compose run exercises make code-lint + docker compose run exercises make code-lint code-lint: @(for i in $$(find modules -type f -name Makefile); do echo "check $$(dirname $$i)"; done) compose-description-lint: - docker-compose run exercises make description-lint + docker compose run exercises make description-lint compose-schema-validate: - docker-compose run exercises make schema-validate + docker compose run exercises make schema-validate ci-check: - docker-compose --file docker-compose.yml build - docker-compose --file docker-compose.yml up --abort-on-container-exit + docker compose --file docker-compose.yml build + docker compose --file docker-compose.yml up --abort-on-container-exit release: git push -f origin main:release diff --git a/action.yml b/action.yml index ce65fe0..62de87f 100644 --- a/action.yml +++ b/action.yml @@ -35,7 +35,7 @@ runs: shell: bash - name: Build - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v5 with: cache-from: ${{ env.IMAGE_NAME }}:cached cache-to: type=inline @@ -48,7 +48,7 @@ runs: run: docker push ${{ env.IMAGE_NAME }}:cached shell: bash - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Check run: docker-compose --file docker-compose.yml up --abort-on-container-exit @@ -58,3 +58,13 @@ runs: if: ${{ github.event_name == 'push' }} run: docker push ${{ env.IMAGE_NAME }}:latest shell: bash + + - uses: reviewdog/action-languagetool@v1 + with: + # github_token: ${{ secrets.github_token }} + # Change reviewdog reporter if you need [github-pr-check,github-check,github-pr-review]. + reporter: github-pr-review + language: + default: 'ru-RU' + # Change reporter level if you need. + level: info