Skip to content

Commit

Permalink
Chore!: Require updated docs (#697)
Browse files Browse the repository at this point in the history
* Adds a GHA to require no docs differences between generated and checked in
  • Loading branch information
IsaacCalligeros95 authored Aug 12, 2024
1 parent e5533e0 commit 04b1917
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Validate Docs
on:
push:
branches:
- '**'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v3
with:
go-version: '1.22'
- run: go generate main.go
- name: Check for file changes
run: git diff --exit-code

0 comments on commit 04b1917

Please sign in to comment.