Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add luacheck linter #23

Merged
merged 2 commits into from
Nov 5, 2024
Merged

Conversation

themilchenko
Copy link
Contributor

There was a linter check in test in testing workflow, but not in a separate job.

After the patch a linter check is available in a separate job and the previous step from testing workflow was deleted.

Closes #21

.github/workflows/check.yaml Outdated Show resolved Hide resolved
.github/workflows/check.yaml Outdated Show resolved Hide resolved
@themilchenko themilchenko force-pushed the themilchenko/gh-21-add-linter-in-ci branch 2 times, most recently from f546a86 to 64b266f Compare November 2, 2024 16:07
Makefile Show resolved Hide resolved
@oleg-jukovec oleg-jukovec removed the request for review from DerekBum November 4, 2024 09:47
@themilchenko themilchenko force-pushed the themilchenko/gh-21-add-linter-in-ci branch from 64b266f to 6c34761 Compare November 5, 2024 07:40
README.md Outdated Show resolved Hide resolved
@themilchenko themilchenko force-pushed the themilchenko/gh-21-add-linter-in-ci branch from 6c34761 to 9cf0640 Compare November 5, 2024 08:12
README.md Outdated
Comment on lines 209 to 223
After that you need to install dependencies (`tt` is required).
It's possible to install requirements only for running tests
or linter check. To install all of this, run:

```shell
make deps
```

To install only tests requirements, run:

```shell
make deps depname=test
```

To install tests with coverage requirements, run:
Copy link
Member

@DifferentialOrange DifferentialOrange Nov 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
After that you need to install dependencies (`tt` is required).
It's possible to install requirements only for running tests
or linter check. To install all of this, run:
```shell
make deps
```
To install only tests requirements, run:
```shell
make deps depname=test
```
To install tests with coverage requirements, run:
After that you need to install dependencies (`tt` is required).
To do it, run:
```shell
make deps
```
It's possible to install requirements only for running tests
or linter check. To install only tests requirements, run:
```shell
make deps depname=test
```
To install tests with coverage requirements, run:

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Edited.

Since it will be more convenient to see CI jobs making its own work, the
installation of rocks was rewriten to install rocks only for one task.
There was a linter check in test in `testing` workflow, but not in a
separate job.

After the patch a linter check is available in a separate job and the
previous step from `testing` workflow was deleted.

Closes #21
@themilchenko themilchenko force-pushed the themilchenko/gh-21-add-linter-in-ci branch from 9cf0640 to 6d6526b Compare November 5, 2024 08:47
@themilchenko themilchenko merged commit 2f25cb0 into master Nov 5, 2024
5 checks passed
@themilchenko themilchenko deleted the themilchenko/gh-21-add-linter-in-ci branch November 5, 2024 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ci: add linter
3 participants