Check for Git differences in CI

The command is:

git diff --exit-code

Prints the diff and exits with status code 1.

CI

generate:
  image: ruby:3.1.2-alpine
  script:
    - apk add --update git make
    - make generate
    - git diff --exit-code