Skip to content

Commit

Permalink
Add docs codegen check to GitHub Actions Workflow (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshalX authored Feb 2, 2024
1 parent c2e679f commit d006fe9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/codegen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ ubuntu-latest, windows-latest, macos-latest ]

defaults:
run:
Expand Down Expand Up @@ -49,5 +49,11 @@ jobs:
- name: Run codegen.
run: poetry run atproto gen all

- name: Run docs gen.
if: runner.os == 'Linux'
run: |
source $(poetry env info -p)/bin/activate
make -s -C docs gen
- name: Check working directory is clean.
run: git diff --exit-code

0 comments on commit d006fe9

Please sign in to comment.