Skip to content

further fixes to the ensure-docs-compiled #91

further fixes to the ensure-docs-compiled

further fixes to the ensure-docs-compiled #91

name: Ensure Docs are Compiled
on:
push:
branches:
- main
pull_request:
jobs:
ensure-docs-compiled:
runs-on: macos-latest
steps:
- name: Checkout 🛎
uses: actions/checkout@v2
- uses: actions/setup-go@v4
with:
go-version: '1.22'
check-latest: true
- 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