bc425b5bad
[ #608 ] pre-commit: Fix linter
...
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
2023-08-15 07:42:46 +00:00
872fe90c40
[ #317 ] pre-commit: Add go-mod-tidy hook
...
ci/woodpecker/push/pre-commit Pipeline was successful
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-05-04 13:58:19 +00:00
57718bd6b4
[ #285 ] *: Update golangci-lint to v1.52.2
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-04-26 17:35:04 +03:00
9027695371
[ #203 ] node: Add staticcheck target and pre-commit
...
ci/woodpecker/push/pre-commit Pipeline was successful
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-04-06 16:33:36 +03:00
d857ffeb2e
[ #171 ] Syncrhonize pre-commit settings across FrostFS repos
...
This change allows to use `[#xx]` placeholders for issue number.
This change adds go unit test run if .go files were changed.
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2023-03-24 10:43:55 +03:00
f111704ceb
[ #158 ] Fix gitlint run in pre-commit under CI
...
ci/woodpecker/push/pre-commit Pipeline was successful
Wrong stage was used.
It still may run gitlint against only latest commit in PR.
Signed-off-by: Stanislav Bogatyrev <s.bogatyrev@yadro.com>
2023-03-22 08:58:34 +00:00
d64fb887ff
[ #149 ] Reorder pre-commit hooks
...
Minor changes to see what fails first
Signed-off-by: Stanislav Bogatyrev <s.bogatyrev@yadro.com>
2023-03-20 18:37:34 +03:00
b1c165a93b
[ #83 ] Fix shellcheck pre-commit action
...
Original shellcheck action requires Docker to run and it's not always
available, especially inside Docker containers. Replacing it with python
wrapper to simplify usage with Docker-based CI systems like Drone and
WoodpeckerCI.
Signed-off-by: Stanislav Bogatyrev <s.bogatyrev@yadro.com>
2023-03-15 12:24:41 +00:00
bce5827f64
[ #83 ] pre-commit: Add shellcheck hook
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-03-13 07:07:30 +00:00
8226d49376
[ #83 ] pre-commit: Add gitlint hook
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-03-13 07:07:30 +00:00
0893689c6a
[ #83 ] pre-commit: Add golangci-lint hook
...
Skip deprecated warning for now, adopting new neo-go API will be done in
another task.
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-03-13 07:07:29 +00:00
861e9ab59a
[ #83 ] pre-commit: Add initial configuration
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-03-13 07:07:29 +00:00