go-sdk/tools/check-lint-version
Mike Nguyen 59acca46a6
chore!: upgrade lint & go (#649)
* chore: bump go to 1.23.3 and golangci-lint to 1.61.0

Signed-off-by: mikeee <hey@mike.ee>

* fix: ineffective nolint directive removed

Signed-off-by: Mike Nguyen <hey@mike.ee>

* fix: perfsprint recommendations

Signed-off-by: Mike Nguyen <hey@mike.ee>

* fix: intrange recommendations - refactor loops

Signed-off-by: Mike Nguyen <hey@mike.ee>

* fix: remove existing dereferencing copies

Signed-off-by: Mike Nguyen <hey@mike.ee>

* fix!: address gosec overflows

BREAKING CHANGE: State consistency, concurrency and operation types are now int32 sized.
Panic on an overflow conversion for a proto duration

Signed-off-by: Mike Nguyen <hey@mike.ee>

* fix: tooling lint issues/ci update

Signed-off-by: Mike Nguyen <hey@mike.ee>

* fix: perfsprint suggestions on dapr-bot

Signed-off-by: Mike Nguyen <hey@mike.ee>

* chore(ci): remove gover remnants

Signed-off-by: Mike Nguyen <hey@mike.ee>

* chore(ci): upgrade golangci-lint action version

Signed-off-by: Mike Nguyen <hey@mike.ee>

---------

Signed-off-by: mikeee <hey@mike.ee>
Signed-off-by: Mike Nguyen <hey@mike.ee>
2024-11-13 22:01:59 -07:00
..
testing feat: add golangci-lint (local) version check (#467) 2023-10-20 14:15:47 -07:00
Makefile feat: add golangci-lint (local) version check (#467) 2023-10-20 14:15:47 -07:00
Readme.md feat: add golangci-lint (local) version check (#467) 2023-10-20 14:15:47 -07:00
go.mod chore!: upgrade lint & go (#649) 2024-11-13 22:01:59 -07:00
go.sum Update github.com/dapr/dapr to v1.13.0-rc.1 (#503) 2024-02-07 07:54:01 -08:00
main.go chore!: upgrade lint & go (#649) 2024-11-13 22:01:59 -07:00
main_test.go chore!: upgrade lint & go (#649) 2024-11-13 22:01:59 -07:00

Readme.md

Check Lint Version

This package is designed to check the local golangci-lint version against that of the current github workflow.

Usage

In the repo root, you can use the make lint command which makes use of this to verify the golangci-lint version and run the linter.

Workflow

The test-tooling workflow is responsible for testing this package.