Skip to content

Commit

Permalink
Merge pull request #78 from tayloraswift/swift-6-ci
Browse files Browse the repository at this point in the history
Swift 6.0.1 in docs.yml
  • Loading branch information
tayloraswift authored Oct 2, 2024
2 parents aff4204 + 372d13a commit 6136807
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,42 +18,35 @@ jobs:
- name: Install Swift
uses: tayloraswift/swift-install-action@master
with:
swift-prefix: "swift-5.10.1-release/ubuntu2404/swift-5.10.1-RELEASE"
swift-id: "swift-5.10.1-RELEASE-ubuntu24.04"
swift-prefix: "swift-6.0.1-release/ubuntu2404/swift-6.0.1-RELEASE"
swift-id: "swift-6.0.1-RELEASE-ubuntu24.04"

- name: Install Unidoc
uses: tayloraswift/swift-unidoc-action@master
with:
unidoc-version: "master"

# This clobbers everything in the current directory!
- name: Checkout repository
uses: actions/checkout@v3

- name: Validate documentation
run: |
unidoc compile -I .. \
unidoc compile \
--swift-toolchain $SWIFT_INSTALLATION \
--ci fail-on-errors \
--package-name swift-png
--project-path .
macos:
runs-on: macos-14
runs-on: macos-15
name: macOS
env:
DEVELOPER_DIR: "/Applications/Xcode_15.3.app/Contents/Developer"

steps:
- name: Install Unidoc
uses: tayloraswift/swift-unidoc-action@master
with:
unidoc-version: "master"

- name: Checkout repository
uses: actions/checkout@v3

- name: Validate documentation
run: |
unidoc compile -I .. \
unidoc compile \
--ci fail-on-errors \
--package-name swift-png
--project-path .

0 comments on commit 6136807

Please sign in to comment.