From 372d13aafeb91923efab3ec465c7ead5830c6d28 Mon Sep 17 00:00:00 2001 From: taylorswift Date: Wed, 2 Oct 2024 17:53:43 -0500 Subject: [PATCH] Swift 6.0.1 in docs.yml --- .github/workflows/docs.yml | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 1d7cc9fa..9803ab63 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -18,13 +18,11 @@ 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 @@ -32,28 +30,23 @@ jobs: - 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 .