Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

Commit

Permalink
[epociask/no-issue-mock-diff-test] Install mockgen step
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethen Pociask committed Jun 29, 2023
1 parent fafaf6f commit dbdd84f
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/gen-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,15 @@ jobs:
name: Ensure mock generation
runs-on: ubuntu-latest
steps:
- run: make go-gen-mocks && git diff --exit-code
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19

- name: Install mockgen
run: go install github.com/golang/mock/[email protected]

- name: Mock diff check
run: make go-gen-mocks && git diff --exit-code

0 comments on commit dbdd84f

Please sign in to comment.