go-sdk/tools/check-lint-version
mikeee e45054d1f6
introduces go1.22 to tests (and misc cleanup) (#504)
* introduces go1.22

- dapr-bot updated to use go1.22
- adds go1.22 to the test jobs
- adds go1.22 to tooling tests

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

* remove 1.20 tests

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

* dapr-bot workflow changes

- retrieve go version from go.mod
- run go mod tidy rather than go get

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

* bump action versions and release go version is now from go.mod

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

* bump main and tool mod files to 1.21

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

* fix dapr-bot test

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

* test dapr-bot using go version from go.mod

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

* bump action versions and remove explicit caching

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

* bump examples to go1.21 and bump deps

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

* bump compatibility check to 1.21 in the make flow

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

* bump to dapr1.13rc2

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

* tidy sums

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

* empty commit to trigger tests (flaky example service validation)

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

* remove conditionals for modtidy/checkdiff runs

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

---------

Signed-off-by: mikeee <hey@mike.ee>
2024-02-08 10:08:28 -08: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 introduces go1.22 to tests (and misc cleanup) (#504) 2024-02-08 10:08:28 -08: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 feat: add golangci-lint (local) version check (#467) 2023-10-20 14:15:47 -07:00
main_test.go feat: go1.20 and golangci-lint v1.55.2 (#480) 2023-12-11 10:51:26 +08: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.