Skip to content

actions have moved

actions have moved #53

Workflow file for this run

# This workflow validates the package’s documentation. Because documentation building involves
# compiling the package, this also checks that the package itself compiles successfully on each
# supported platform.
name: documentation
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
linux:
runs-on: ubuntu-24.04
name: Ubuntu 24.04
steps:
- name: 🤍 Install Swift 🤍
uses: rarestype/swift-install-action@master
with:
swift-prefix: "swift-6.2.4-release/ubuntu2404/swift-6.2.4-RELEASE"
swift-id: "swift-6.2.4-RELEASE-ubuntu24.04"
- name: 🤍 Install Unidoc 🤍
uses: rarestype/unidoc-action@master
# This clobbers everything in the current directory!
- name: 🤍 Checkout repository 🤍
uses: actions/checkout@v6
- name: 🤍 Validate documentation 🤍
run: |
unidoc compile \
--swift-toolchain $SWIFT_INSTALLATION \
--ci fail-on-errors \
--project-path .
macos:
runs-on: macos-26
name: macOS
steps:
- name: 🤍 Install Unidoc 🤍
uses: rarestype/unidoc-action@master
- name: 🤍 Checkout repository 🤍
uses: actions/checkout@v6
- name: 🤍 Select Xcode 26.3 🤍
run: sudo xcode-select -s /Applications/Xcode_26.3.app/Contents/Developer
- name: 🤍 Validate documentation 🤍
run: |
unidoc build \
--ci fail-on-errors \
--project-path .