Commit graph

6 commits

Author SHA1 Message Date
Derek Smith
ae3382b7c8
chore(ci): add golangci-lint action and apply linting changes (#120)
BREAKING CHANGE: `JiraIssueId` has been renamed to `JiraIssueID`. This impacts the value for `pattern_maps` in `config.yml`.

* chore(ci): add golangci-lint action

* chore(lint): address errcheck lint failures

* chore(lint): address misspell lint failures

* chore(lint): address gocritic lint failures

* chore(lint): address golint lint failures

* chore(lint): address structcheck lint failures

* chore(lint): address gosimple lint failures

* chore(lint): address gofmt lint failures

* chore(ci): port to official golangci-lint github action

* Update golangci configuration for better coverage

Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>

* fix: file is not goimports-ed

Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>

* fix: golint and exported functions comments

Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>

* chore(lint): address gosec G304 warning

* chore(lint): address uparam warnings

* chore(lint): address scopelint lint failures

* fix: cyclomatic complexity

Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>

* chore(lint): address prealloc warning, noting that we are warning for now

* chore(lint): address govet and errorlint failures

* chore: clean up defer logic when checking errors

Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com>
2021-03-16 21:24:36 -05:00
Manuel Vogel
2c3d3f400e
chore: bump golang to 1.16 (#118)
* chore: support goarch 386
* docs(readme): add golang version hint in development section
2021-03-14 21:21:30 +01:00
Manuel Vogel
73994ac8f4
Revert "Revert "ci: switches to personal GH Token for brew cross repo releases""
This reverts commit 6e1fc86e33.
2021-01-16 08:05:18 +01:00
Manuel Vogel
6e1fc86e33
Revert "ci: switches to personal GH Token for brew cross repo releases"
This reverts commit cbf3fda1f5.
2021-01-16 08:02:21 +01:00
Manuel Vogel
cbf3fda1f5
ci: switches to personal GH Token for brew cross repo releases 2021-01-16 07:04:55 +01:00
Manuel Vogel
c41bf3ab9a
ci: switches release process to gh actions and goreleaser (#87)
Also preserves coveralls and appveyor. Closes #58
2021-01-16 06:48:01 +01:00