Skip to content

Merge pull request #159 from ethanmdavidson/dependabot/go_modules/git… #150

Merge pull request #159 from ethanmdavidson/dependabot/go_modules/git…

Merge pull request #159 from ethanmdavidson/dependabot/go_modules/git… #150

name: Ensure Docs are Compiled
on:
push:
jobs:
ensure-docs-compiled:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
- shell: bash
run: make generate
- shell: bash
run: |
if [[ -z "$(git status -s)" ]]; then
echo "OK"
else
echo "Docs have been updated, but the compiled docs have not been committed."
echo "Run 'make generate and commit the result to resolve this error."
exit 1
fi