diff options
-rw-r--r-- | .github/workflows/go.yml | 2 | ||||
-rw-r--r-- | docs/dev/local_development.md | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index fa7dd593..8272dd7e 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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 diff --git a/docs/dev/local_development.md b/docs/dev/local_development.md index 7d822ae8..3e8c601c 100644 --- a/docs/dev/local_development.md +++ b/docs/dev/local_development.md @@ -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 ``` |