Skip to content

Commit dd62d63

Browse files
committed
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
1 parent 0a116e7 commit dd62d63

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Taskfile.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -228,11 +228,11 @@ tasks:
228228

229229
protoc:
230230
desc: Lint, format and compile protobuf definitions
231-
deps:
232-
- protoc:check
233-
- protoc:format
234-
- protoc:compile
235-
- protoc:breaking-change-detection
231+
cmds:
232+
- task: protoc:format
233+
- task: protoc:check
234+
- task: protoc:compile
235+
- task: protoc:breaking-change-detection
236236

237237
protoc:compile:
238238
desc: Compile protobuf definitions

0 commit comments

Comments
 (0)