Skip to content

Commit

Permalink
Add verify documentation action
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler committed Sep 14, 2024
1 parent f2bf9fc commit 4dfb14b
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/verify-documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Verify Documentation

on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-apibreakage
cancel-in-progress: true

jobs:
linux:
runs-on: ubuntu-latest
timeout-minutes: 15
container:
image: swift:5.10
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
path: "test"
- name: Checkout
uses: actions/checkout@v4
with:
repository: "hummingbird-project/hummingbird-docs"
fetch-depth: 0
path: "documentation"
- name: Verify
run: |
cd documentation
swift package edit hummingbird --folder ../test
./scripts/build-docc.sh -e

0 comments on commit 4dfb14b

Please sign in to comment.