Commit Graph
11 Commits
Author SHA1 Message Date
subhamkrai 679230f285 ci: enable all golangci-lint linter
this commit enable defalut error check
for golangci-lint linter.

Signed-off-by: subhamkrai <srai@redhat.com>
2020-09-30 22:26:02 +05:30
subhamkrai ff0fb897ff ci: update golangci-lint with staticcheck
adding linter staticcheck in golangci-lint.
staticcheck - Staticcheck is a go vet on steroids,
applying a ton of static analysis checks

Signed-off-by: subhamkrai <srai@redhat.com>
2020-09-24 15:12:49 +05:30
subhamkrai af7ba588c6 ci: update golangci-lint with ineffassign linter
adding one more linter ineffassign in golangci-lint.
ineffassign - Detects when assignments to existing
variables are not used.

Signed-off-by: subhamkrai <subhamkumarrai03@gmail.com>
2020-09-21 14:35:00 +05:30
subhamkrai 54fe97c988 ci: add deadcode linter in golangci-lint
this commit will add one more linter deadcode
in golangci-lint tool.

Signed-off-by: subhamkrai <subhamkumarrai03@gmail.com>
2020-09-18 16:56:37 +05:30
subhamkrai 1c438021ce ci: update golangci-lint yaml
add one more linter rule in golangci-lint
and renaming this golangci-lint as we already have `lint`
name taken.

Signed-off-by: subhamkrai <subhamkumarrai03@gmail.com>
2020-09-17 23:00:08 +05:30
subhamkrai 7d03e84866 ci: adding golangci-lint tool in ci
this commit will add golangci-lint tool
in ci and currently, only gosimple linter
is enabled.

Signed-off-by: subhamkrai <subhamkumarrai03@gmail.com>
2020-09-17 15:20:49 +05:30
Sébastien Han 48dad45f98 ci: run unit tests in gh actions
We now run Rook's unit test in gh workflows

Signed-off-by: Sébastien Han <seb@redhat.com>
2020-08-27 16:19:10 +02:00
Sébastien Han 58c8de95be ci: add modcheck github workflow
Add a new github workflow to verify with mod check.

Signed-off-by: Sébastien Han <seb@redhat.com>
2020-08-27 12:15:41 +02:00
Sébastien Han af5a7f4df8 ci: run make codegen validation in workflow
Fail if a PR is submitted and has not run "make codegen"

Signed-off-by: Sébastien Han <seb@redhat.com>
2020-08-25 19:19:15 +02:00
subhamkrai 22216899b9 ci: adding gosec tool in ci
this commit will add gosec check in ci
and it will help us increase code quality.

Signed-off-by: subhamkrai <subhamkumarrai03@gmail.com>
2020-07-30 13:36:17 +05:30
Sébastien Han 2b47117fc7 bot: add commitlint gh action
We now use a github action to perform commit linting instead of the old
deprecated commitlint bot.

Closes: https://github.com/rook/rook/issues/5547
Signed-off-by: Sébastien Han <seb@redhat.com>
2020-05-28 12:12:57 +02:00