Skip to content

Update docc.yml #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update docc.yml #8

wants to merge 1 commit into from

Conversation

0xLeif
Copy link
Member

@0xLeif 0xLeif commented Oct 2, 2024

No description provided.

@0xLeif 0xLeif requested a review from Copilot May 18, 2025 05:14
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Updates the DocC workflow to use the latest available macOS runner and Xcode version for building documentation.

  • Switched the GitHub Actions runner from macos-13 to macos-latest
  • Updated the xcode-select path to point to Xcode 16
Comments suppressed due to low confidence (1)

.github/workflows/docc.yml:17

  • [nitpick] For more reproducible CI builds, consider pinning to a specific runner label (e.g., macos-13) rather than moving to macos-latest, which may introduce unexpected OS changes over time.
runs-on: macos-latest

steps:
- uses: swift-actions/setup-swift@v1
- name: git checkout
uses: actions/checkout@v3
- name: docbuild
run: >
sudo xcode-select -s /Applications/Xcode_15.0.app;
sudo xcode-select -s /Applications/Xcode_16.0.app;
Copy link
Preview

Copilot AI May 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than manually running xcode-select, you could leverage the Swift setup action’s xcode-version input or use actions/setup-xcode to automatically pick the desired Xcode, which reduces hard-coded paths and future maintenance.

Copilot uses AI. Check for mistakes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant