WIP: Lint and check protobuf schemas for breaking changes #72
No reviewers
Labels
No labels
P0
P1
P2
P3
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-api#72
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "potyarkin:feature/buf-workflow"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Old GitHub workflow was using wizhi/setup-buf, that repo is archived now.
In this PR I've added bufbuild/buf-action which works fine on our Forgejo instance, but it returns a lot of linter/formatter errors. I'm not even sure it got to the stage where it checks for breaking changes in my test runs.
Linter failures may also be caused by
buf
misconfiguration on my part, I'm a complete noob when it comes to protobufs. Will look into this further, but also hope for helpful suggestions from more experienced peers.cb1504cef8
to4f2fa0ee8c
We have stayed with
clang-format
instead ofbuf fmt
, because buf is unavailable from Russia, hence action failure.I've noticed that
buf
documentation is not available from Russia but this is not the reason the action fails: buf runs fine and produces than 1000 lines of minor formatting nitpicks (mostly whitespace changes, option/import ordering improvements).If we have migrated away from buf and clang-format covers our needs now - I can drop this PR.
Pull request closed