Skip to content

Commit 5ddf82f

Browse files
authored
chore: better swift-tools explanation (#49)
1 parent a8fd3a2 commit 5ddf82f

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

Package.swift

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
11
// swift-tools-version: 5.10
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33
//
4-
// Not using 6.1 because CodeQL default runner is not ubuntu-latest and doesn't support it yet (Checked: 2025-07-03).
4+
// Not using 6.1 because CodeQL default runner for Swift is `macos-latest`.
5+
// `macos-latest` is macOS 14 (Sonoma). Runner has Xcode 15.4 as default, Swift version 5.10.
6+
// We can't select Xcode version for the default CodeQL checks.
7+
// That's why we can't use swift-tools 6.0 or higher.
8+
// Using 6.0 or higher would require to create a custom workflow for CodeQL checks.
9+
//
10+
// Quick links:
11+
// * GHA runners: https://docs.github.com/en/actions/how-tos/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
12+
// * Images configs: https://github.com/actions/runner-images/tree/main/images/macos
13+
//
14+
// Checked: 2025-07-03.
15+
516

617
import PackageDescription
718

0 commit comments

Comments
 (0)