ci: enable strict mode by default in opa check #602
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Verify Docs | |
on: | |
pull_request: | |
merge_group: | |
env: | |
GO_VERSION: '1.22' | |
jobs: | |
build: | |
name: Verify Docs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- run: | | |
make docs | |
if [ -n "$(git status --porcelain)" ]; then | |
echo "Run 'make docs' and push it" | |
exit 1 | |
fi |