Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions .github/workflows/mocks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,16 @@ jobs:

- run: go install github.com/golang/mock/mockgen@v1.6.0

- run: go generate -run "mockery" ./...
- name: Check devnet module
run: |
cd devnet && \
go generate -run "mockery" -tags integration ./... && \
go generate -run "mockgen" -tags integration ./... && \
git diff --exit-code && \
cd ..

- run: go generate -run "mockgen" ./...

- name: mocks updated check
run: git diff --exit-code
- name: Check Gossamer module
run: |
go generate -run "mockery" -tags integration ./... && \
go generate -run "mockgen" -tags integration ./... && \
git diff --exit-code