-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
chore: new make format, and run it #12867
Conversation
NB: the final change included replacing gofmt and goimports in .golangci.yml with gofumpt the other two conflict with nolintlint ; gofumpt is just better anyhow and is now default in |
@faddat can you look into the few CI failures pls? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! See #12851 (comment) 🙈
One question, why do we revert the use of buildjet?
The test 00 and test 01 fail are unrelated and due to the CI running Go 1.19. TestCompose is a flaky test |
@julienrbrt -- they have a new but determistic output. Should I change the expected output in the test files? Re: buildjet - that's a test so we can compare. Also, seems like codeql really benefits from buildjet. |
@julienrbrt hey I think that I went out of scope with the buildjet changes. I am going to revert those and make them in another branch. |
Codecov Report
@@ Coverage Diff @@
## main #12867 +/- ##
==========================================
- Coverage 56.20% 56.18% -0.02%
==========================================
Files 647 644 -3
Lines 55036 54899 -137
==========================================
- Hits 30933 30847 -86
+ Misses 21607 21562 -45
+ Partials 2496 2490 -6
|
|
@alexanderbez consistent? |
I am going to decompose this further-- first Makefile, then changes.... |
closing to make smaller. |
Description
make format
make format
Excludes all generated files and replaces gofmt and goimports with gofumpt
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
!
to the type prefix if API or client breaking changeCHANGELOG.md
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
!
in the type prefix if API or client breaking change