Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add golangci-lint (local) version check #467

Merged
merged 7 commits into from
Oct 20, 2023

Conversation

mikeee
Copy link
Member

@mikeee mikeee commented Oct 18, 2023

Check golangci-lint version using a go script (launched using make lint)

Add golangci-lint version check to compare the
local version against the workflow version.

Adds associated test workflow for mac, ubuntu and windows.

Ref:
This PR closes #454

@mikeee mikeee requested a review from a team as a code owner October 18, 2023 15:09
@codecov
Copy link

codecov bot commented Oct 18, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (de97477) 68.96% compared to head (21669d1) 68.96%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #467   +/-   ##
=======================================
  Coverage   68.96%   68.96%           
=======================================
  Files          34       34           
  Lines        2707     2707           
=======================================
  Hits         1867     1867           
  Misses        732      732           
  Partials      108      108           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mikeee mikeee marked this pull request as draft October 18, 2023 15:38
@mikeee mikeee force-pushed the mikeee-golangci-lint-verify-version branch from 1e63f0f to 8a582ab Compare October 18, 2023 16:58
Add golangci-lint version check to compare the
local version against the workflow version.

Adds associated test workflow for mac, ubuntu and windows.

Signed-off-by: mikeee <[email protected]>
@mikeee mikeee force-pushed the mikeee-golangci-lint-verify-version branch from cd551f3 to 6dea596 Compare October 19, 2023 08:09
@mikeee mikeee marked this pull request as ready for review October 19, 2023 15:33
@yaron2 yaron2 merged commit 57466dd into dapr:main Oct 20, 2023
10 checks passed
@mikeee mikeee deleted the mikeee-golangci-lint-verify-version branch October 22, 2023 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Verify local Golangci-lint version with GitHub actions
2 participants