helmfile/.github
Yusuke Kuoka 445c74c92b
Enhance `make fmt` to cover running gci for golangci-lint compat (#515)
* Enhance `make fmt` to cover running gci for golangci-lint compat

I have been using `make fmt` for formatting code before submitting a pull request. It turned out not to work in some cases where you added a new import because the default go-fmt obviously do not organize imports as the golangci-lint and gci expect.
This fixes that, by adding a gci command to the `make fmt` target.
Please note that this does not cover installing gci. If you need, please submit another pull request to add something like a `make install-gci` and make the `make fmt` depenedent on that target, so that one can get automatic gci installation when running `make fmt` for first time.

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>

* We don't need running gci via make on CI as we already run it as part of golangci-lint run

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-11-13 16:24:28 +08:00
..
ISSUE_TEMPLATE Include the working helmfile ver in the bug report 2022-07-18 03:06:11 +00:00
actions/setup-image-vars Refactor 'images' workflow, include Ubuntu image to push 2022-08-10 09:01:37 +02:00
workflows Enhance `make fmt` to cover running gci for golangci-lint compat (#515) 2022-11-13 16:24:28 +08:00
FUNDING.yml Create FUNDING.yml 2022-04-03 11:18:04 +09:00
dependabot.yml Create dependabot.yml 2022-04-21 23:10:05 +02:00
stale.yml Add stale bot config 2022-04-03 02:48:01 +00:00