mirror of https://github.com/gogs/gogs.git
ci: pin go-mockgen to 1.2.0 (#7021)
parent
2ca014250f
commit
e3706575d5
.github/workflows
docs/dev
|
@ -40,7 +40,7 @@ jobs:
|
|||
uses: arduino/setup-task@v1
|
||||
- name: Install goimports and go-mockgen
|
||||
run: |
|
||||
go install github.com/derision-test/go-mockgen/cmd/go-mockgen@latest
|
||||
go install github.com/derision-test/go-mockgen/cmd/go-mockgen@v1.2.0
|
||||
go install golang.org/x/tools/cmd/goimports@latest
|
||||
- name: Check Go module tidiness and generated files
|
||||
shell: bash
|
||||
|
|
|
@ -41,7 +41,7 @@ Gogs has the following dependencies:
|
|||
brew install go postgresql git npm go-task/tap/go-task
|
||||
npm install -g less
|
||||
npm install -g less-plugin-clean-css
|
||||
go install github.com/derision-test/go-mockgen/cmd/go-mockgen@latest
|
||||
go install github.com/derision-test/go-mockgen/cmd/go-mockgen@v1.2.0
|
||||
go install golang.org/x/tools/cmd/goimports@latest
|
||||
```
|
||||
|
||||
|
@ -79,7 +79,7 @@ Gogs has the following dependencies:
|
|||
sudo apt install -y make git-all postgresql postgresql-contrib golang-go nodejs
|
||||
npm install -g less
|
||||
go install github.com/go-task/task/v3/cmd/task@latest
|
||||
go install github.com/derision-test/go-mockgen/cmd/go-mockgen@latest
|
||||
go install github.com/derision-test/go-mockgen/cmd/go-mockgen@v1.2.0
|
||||
go install golang.org/x/tools/cmd/goimports@latest
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue