Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v6
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: "26.4"
xcode-version: "latest-stable"
- uses: SwiftyLab/setup-swift@latest
with:
swift-version: "6.3"
Expand All @@ -45,7 +45,7 @@ jobs:
name: Run swift-format
runs-on: ubuntu-latest
container:
image: swift:latest
image: swift:6.3
steps:
- uses: actions/checkout@v6
- name: Download .swift-format config
Expand All @@ -61,7 +61,7 @@ jobs:
- uses: actions/checkout@v6
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: "26.4"
xcode-version: "latest-stable"
- uses: SwiftyLab/setup-swift@latest
with:
swift-version: "6.3"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/periphery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v6
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: "26.4"
xcode-version: "latest-stable"
- uses: SwiftyLab/setup-swift@latest
with:
swift-version: "6.3"
Expand Down
10 changes: 7 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@

import PackageDescription

let approachableConcurrency: [SwiftSetting] = [
let upcomingFeatures: [SwiftSetting] = [
.enableUpcomingFeature("NonisolatedNonsendingByDefault"),
.enableUpcomingFeature("InferIsolatedConformances")
.enableUpcomingFeature("InferIsolatedConformances"),
.enableUpcomingFeature("ImmutableWeakCaptures"),
.enableUpcomingFeature("MemberImportVisibility"),
.enableUpcomingFeature("ExistentialAny"),
.enableUpcomingFeature("InternalImportsByDefault")
]

let package = Package(
Expand All @@ -28,7 +32,7 @@ let package = Package(
.product(name: "Algorithms", package: "swift-algorithms"),
.product(name: "Progress", package: "Progress.swift")
],
swiftSettings: approachableConcurrency
swiftSettings: upcomingFeatures
)
],
swiftLanguageModes: [.v6]
Expand Down
2 changes: 1 addition & 1 deletion Sources/lib/Games.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ struct Game: Codable {
/// All other words that can be formed by combinations of the tiles.
let otherWords: Set<String>

func encode(to encoder: Encoder) throws {
func encode(to encoder: any Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)

try container.encode(tiles.shuffled(), forKey: .tiles)
Expand Down
Loading