Skip to content

Commit

Permalink
add LT
Browse files Browse the repository at this point in the history
Signed-off-by: Kirill Mokevnin <[email protected]>
  • Loading branch information
mokevnin committed Dec 8, 2023
1 parent b821cab commit 6dc0efd
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 11 deletions.
18 changes: 9 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
14 changes: 12 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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

0 comments on commit 6dc0efd

Please sign in to comment.