Skip to content

Commit

Permalink
Check in CI that running "go generate" was not forgotten
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbakker committed Jan 12, 2024
1 parent 68f0cae commit 9671bdf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ jobs:
- uses: DeterminateSystems/magic-nix-cache-action@8a218f9e264e9c3803c9a1ee1c30d8e4ab55be63
with:
diagnostic-endpoint:
- name: No diff
run: |
nix develop -c go generate ./...
git diff-index --quiet HEAD --
- name: Build
run: |
nix build --print-build-logs

0 comments on commit 9671bdf

Please sign in to comment.