Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4f70b59

Browse files
ci: move go install tools to separate action (#17552)
I think using an older version of mockgen on the schmoder CI broke theworkflow, so I'm gonna sync it via this action, like we do with theother `make build` dependencies.
1 parentef6e6e4 commit4f70b59

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name:"Setup Go tools"
2+
description:|
3+
Set up tools for `make gen`, `offlinedocs` and Schmoder CI.
4+
runs:
5+
using:"composite"
6+
steps:
7+
-name:go install tools
8+
shell:bash
9+
run:|
10+
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.30
11+
go install storj.io/drpc/cmd/protoc-gen-go-drpc@v0.0.34
12+
go install golang.org/x/tools/cmd/goimports@v0.31.0
13+
go install github.com/mikefarah/yq/v4@v4.44.3
14+
go install go.uber.org/mock/mockgen@v0.5.0

‎.github/workflows/ci.yaml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -249,12 +249,7 @@ jobs:
249249
uses:./.github/actions/setup-tf
250250

251251
-name:go install tools
252-
run:|
253-
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.30
254-
go install storj.io/drpc/cmd/protoc-gen-go-drpc@v0.0.34
255-
go install golang.org/x/tools/cmd/goimports@v0.31.0
256-
go install github.com/mikefarah/yq/v4@v4.44.3
257-
go install go.uber.org/mock/mockgen@v0.5.0
252+
uses:./.github/actions/setup-go-tools
258253

259254
-name:Install Protoc
260255
run:|
@@ -860,12 +855,7 @@ jobs:
860855
uses:./.github/actions/setup-go
861856

862857
-name:Install go tools
863-
run:|
864-
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.30
865-
go install storj.io/drpc/cmd/protoc-gen-go-drpc@v0.0.34
866-
go install golang.org/x/tools/cmd/goimports@v0.31.0
867-
go install github.com/mikefarah/yq/v4@v4.44.3
868-
go install go.uber.org/mock/mockgen@v0.5.0
858+
uses:./.github/actions/setup-go-tools
869859

870860
-name:Setup sqlc
871861
uses:./.github/actions/setup-sqlc

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp