|
65 | 65 | restore-keys: |
|
66 | 66 | js-${{ runner.os }}-
|
67 | 67 |
|
| 68 | + - name: Install protoc-gen-go |
| 69 | + run: go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.26 |
| 70 | + - name: Install protoc-gen-go-drpc |
| 71 | + run: go install storj.io/drpc/cmd/protoc-gen-go-drpc@v0.0.26 |
| 72 | + - name: Install goimports |
| 73 | + run: go install golang.org/x/tools/cmd/goimports@latest |
| 74 | + |
| 75 | + - name: Install Protoc |
| 76 | + run: | |
| 77 | + # protoc must be in lockstep with our dogfood Dockerfile |
| 78 | + # or the version in the comments will differ. |
| 79 | + set -x |
| 80 | + cd dogfood |
| 81 | + DOCKER_BUILDKIT=1 docker build . --target proto -t protoc |
| 82 | + protoc_path=/usr/local/bin/protoc |
| 83 | + docker run --rm --entrypoint cat protoc /tmp/bin/protoc > $protoc_path |
| 84 | + chmod +x $protoc_path |
| 85 | + protoc --version |
| 86 | +
|
68 | 87 | - name: Install nfpm
|
69 | 88 | run: go install github.com/goreleaser/nfpm/v2/cmd/nfpm@v2.16.0
|
70 | 89 |
|
|
78 | 97 |
|
79 | 98 | version="$(./scripts/version.sh)"
|
80 | 99 | make -j \
|
| 100 | + -W coderd/database/querier.go \ |
81 | 101 | build/coder_"$version"_linux_{amd64,armv7,arm64}.{tar.gz,apk,deb,rpm} \
|
82 | 102 | build/coder_"$version"_windows_{amd64,arm64}.zip \
|
83 | 103 |
|
@@ -165,6 +185,25 @@ jobs:
|
165 | 185 | restore-keys: |
|
166 | 186 | js-${{ runner.os }}-
|
167 | 187 |
|
| 188 | + - name: Install protoc-gen-go |
| 189 | + run: go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.26 |
| 190 | + - name: Install protoc-gen-go-drpc |
| 191 | + run: go install storj.io/drpc/cmd/protoc-gen-go-drpc@v0.0.26 |
| 192 | + - name: Install goimports |
| 193 | + run: go install golang.org/x/tools/cmd/goimports@latest |
| 194 | + |
| 195 | + - name: Install Protoc |
| 196 | + run: | |
| 197 | + # protoc must be in lockstep with our dogfood Dockerfile |
| 198 | + # or the version in the comments will differ. |
| 199 | + set -x |
| 200 | + cd dogfood |
| 201 | + DOCKER_BUILDKIT=1 docker build . --target proto -t protoc |
| 202 | + protoc_path=/usr/local/bin/protoc |
| 203 | + docker run --rm --entrypoint cat protoc /tmp/bin/protoc > $protoc_path |
| 204 | + chmod +x $protoc_path |
| 205 | + protoc --version |
| 206 | +
|
168 | 207 | - name: Install dependencies
|
169 | 208 | run: |
|
170 | 209 | set -euo pipefail
|
|
0 commit comments