Commit 7782c89
authored
[skip-changelog] Small improvements in Taskfile about protocol buffer generation (#2793)
* Do not run protoc tasks in parallel
Otherwise if the format task changes the underlying files, it will make
fail the other tasks.
task: [protoc:breaking-change-detection] buf breaking --against '.git#branch=origin/master,subdir=rpc'
task: [protoc:format] buf format --write --exit-code
task: [protoc:check] buf lint
task: [protoc:compile] buf dep update
Failure: context canceled
Failure: context canceled
Failure: context canceled
exit status 100
* Simplified taskfile
* Do not exit with error if `buf format` formats a file
This is the intended behaviour.1 parent 0a116e7 commit 7782c89
1 file changed
+7
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
247 | | - | |
| 246 | + | |
248 | 247 | | |
249 | 248 | | |
250 | 249 | | |
| |||
266 | 265 | | |
267 | 266 | | |
268 | 267 | | |
269 | | - | |
| 268 | + | |
270 | 269 | | |
271 | 270 | | |
272 | 271 | | |
| |||
0 commit comments