Skip to content

Commit

Permalink
ci: run go generate during tests and check for differences
Browse files Browse the repository at this point in the history
  • Loading branch information
tklauser committed Sep 26, 2024
1 parent b2bc57d commit 4f2b20a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ jobs:
go mod tidy
git diff --exit-code
- name: Generate
if: ${{ matrix.go-version == '1.23' }}
run: |
go generate
git diff --exit-code
- name: Test (native)
run: go test -v ./...

Expand Down

0 comments on commit 4f2b20a

Please sign in to comment.