Skip to content

Commit

Permalink
chore: change github actions to catch build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
redteampanda-ng committed Jan 6, 2025
1 parent b856cd1 commit d9fa626
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/pre-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Manual Pre Checks

on:
pull_request:
types: [opened, synchronize]
workflow_dispatch:

jobs:
linkcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install Dependencies
run: pip install -r requirements.txt
- name: Clean Previous Builds
run: make linkcheck
build-docs:
runs-on: ubuntu-latest
needs: linkcheck
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install Dependencies
run: pip install -r requirements.txt
- name: Clean Previous Builds
run: make clean
- name: Build Documentation
run: make html SPHINXOPTS="-W"

0 comments on commit d9fa626

Please sign in to comment.