Skip to content

Commit

Permalink
Delete old mocks before regenerating.
Browse files Browse the repository at this point in the history
  • Loading branch information
winder committed Jul 30, 2024
1 parent 6c9c1cf commit a6c04bb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/codegen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ jobs:
go-version: ${{ matrix.go-version }}
- name: Display Go version
run: go version
- name: Generate mocks
run: make generate
- name: Re-Generate mocks
run: |
rm -rf mocks # delete all mocks to ensure any deprecated files have been removed.
make generate
- name: Tidy
run: go mod tidy
- name: ensure no changes
Expand Down

0 comments on commit a6c04bb

Please sign in to comment.