Update from hummingbird-project-template 52a2c1f50039efafa9a0c6eedeb674a817ec3606

This commit is contained in:
adam-fowler
2024-09-15 11:23:39 +00:00
committed by GitHub
parent 17eaa62d5b
commit 2ed2b7a351
2 changed files with 36 additions and 1 deletions

View File

@@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 15
container:
image: swift:5.10
image: swift:latest
steps:
- name: Checkout
uses: actions/checkout@v4

View File

@@ -0,0 +1,35 @@
name: Verify Documentation
on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-verifydocs
cancel-in-progress: true
jobs:
linux:
runs-on: ubuntu-latest
timeout-minutes: 15
container:
image: swift:latest
steps:
- name: Install rsync 📚
run: |
apt-get update && apt-get install -y rsync bc
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
path: "package"
- 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 ${GITHUB_REPOSITORY#*/} --path ../package
./scripts/build-docc.sh -e