Skip to content

Commit

Permalink
ci: add workflow to verify docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nikpivkin committed Mar 6, 2024
1 parent 31e7799 commit 52eaf82
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/verify-docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Verify Docs
on:
pull_request:
merge_group:
jobs:
build:
name: Verify Docs
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: actions/setup-go@v5
with:
go-version-file: go.mod

- run: |
make docs
if [ -n "$(git status --porcelain)" ]; then
echo "Run 'make docs' and push it"
exit 1
fi

0 comments on commit 52eaf82

Please sign in to comment.