Skip to content

Commit

Permalink
chore: upgrade go-mockgen for 1.22 (#7683)
Browse files Browse the repository at this point in the history
  • Loading branch information
unknwon committed Mar 12, 2024
1 parent 6c63a88 commit fa84482
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
# go-mockgen panics on Go 1.22.x, see https://github.com/derision-test/go-mockgen/issues/51
go-version: 1.21.x
go-version: 1.22.x
- name: Install Task
uses: arduino/setup-task@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
package main

//go:generate go install golang.org/x/tools/cmd/goimports@v0.17.0
//go:generate go run github.com/derision-test/go-mockgen/cmd/go-mockgen@v1.3.7
//go:generate go run github.com/derision-test/go-mockgen/v2/cmd/go-mockgen@v2.0.1

0 comments on commit fa84482

Please sign in to comment.