Skip to content

Commit b6c351d

Browse files
committed
Protoc
1 parent 38daa9d commit b6c351d

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

.github/workflows/coder.yaml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -193,17 +193,6 @@ jobs:
193193
- name: Install node_modules
194194
run: ./scripts/yarn_install.sh
195195

196-
- name: Install Protoc
197-
run: |
198-
# protoc must be in lockstep with our dogfood Dockerfile
199-
# or the version in the comments will differ.
200-
set -x
201-
cd dogfood
202-
DOCKER_BUILDKIT=1 docker build . --target proto -t protoc
203-
protoc_path=/usr/local/bin/protoc
204-
docker run --rm --entrypoint cat protoc /tmp/bin/protoc > $protoc_path
205-
chmod +x $protoc_path
206-
protoc --version
207196
- uses: actions/setup-go@v3
208197
with:
209198
go-version: "~1.19"
@@ -236,6 +225,18 @@ jobs:
236225
- name: Install goimports
237226
run: go install golang.org/x/tools/cmd/goimports@latest
238227

228+
- name: Install Protoc
229+
run: |
230+
# protoc must be in lockstep with our dogfood Dockerfile
231+
# or the version in the comments will differ.
232+
set -x
233+
cd dogfood
234+
DOCKER_BUILDKIT=1 docker build . --target proto -t protoc
235+
protoc_path=/usr/local/bin/protoc
236+
docker run --rm --entrypoint cat protoc /tmp/bin/protoc > $protoc_path
237+
chmod +x $protoc_path
238+
protoc --version
239+
239240
- name: make gen
240241
run: "make --output-sync -j -B gen"
241242

0 commit comments

Comments
 (0)