ci: pin go-mockgen to 1.2.0 ()

pull/7022/head
Joe Chen 2022-06-07 20:38:54 +08:00 committed by GitHub
parent 2ca014250f
commit e3706575d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions
.github/workflows

View File

@ -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

View File

@ -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
```