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
11 changes: 11 additions & 0 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
strategy:
matrix:
include:
- runner: macos-14
xcode: brew
- runner: macos-15
xcode: 26.1.1
- runner: macos-15-intel
Expand All @@ -43,16 +45,25 @@ jobs:
run: Scripts/setup_workflow_repo

- name: 🛠 Select Xcode version
if: matrix.xcode != 'brew'
run: xcodes select ${{matrix.xcode}}

- name: 👢 Bootstrap
run: Scripts/bootstrap

- name: 🕊 Use Homebrew Core Swift
if: matrix.xcode == 'brew'
run: |
brew install swift
printf $'%s\n' "$(brew --prefix swift)/bin" >> "${GITHUB_PATH}"

- name: 🏗 Build
run: Scripts/build build-test -c release

- name: 🧪 Test
if: matrix.xcode != 'brew'
run: Scripts/test

- name: 🚨 Lint
if: matrix.xcode != 'brew'
run: Scripts/lint
1 change: 0 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ private let swiftSettings = [
.enableUpcomingFeature("InternalImportsByDefault"),
.enableUpcomingFeature("MemberImportVisibility"),
.enableUpcomingFeature("NonisolatedNonsendingByDefault"),
.strictMemorySafety(),
.treatAllWarnings(as: .error),
]

Expand Down
2 changes: 1 addition & 1 deletion Sources/mas/Commands/List.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ extension MAS {
let format = "%\(maxADAMIDLength)lu %@ (%@)"
printer.info(
installedApps.map { installedApp in
unsafe String(
String(
format: format,
installedApp.adamID,
installedApp.name.padding(toLength: maxNameLength, withPad: " ", startingAt: 0),
Expand Down
2 changes: 1 addition & 1 deletion Sources/mas/Commands/Outdated.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ extension MAS {
let format = "%\(maxADAMIDLength)lu %@ (%@ -> %@)"
printer.info(
outdatedApps.map { installedApp, newVersion in
unsafe String(
String(
format: format,
installedApp.adamID,
installedApp.name.padding(toLength: maxNameLength, withPad: " ", startingAt: 0),
Expand Down
2 changes: 1 addition & 1 deletion Sources/mas/Commands/Search.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ extension MAS {
let format = "%\(maxADAMIDLength)lu %@ (%@)\(price ? " %@" : "")"
printer.info(
catalogApps.map { catalogApp in
unsafe String(
String(
format: format,
catalogApp.adamID,
catalogApp.name.padding(toLength: maxNameLength, withPad: " ", startingAt: 0),
Expand Down
Loading