Fix actions failing
All checks were successful
SwiftLint / SwiftLint (push) Successful in 5s
Deploy Docs / publish (push) Successful in 4m18s

This commit is contained in:
david-swift 2025-04-15 17:23:34 +02:00
parent 942319e2df
commit 76718bd057
3 changed files with 6 additions and 4 deletions

View File

@ -11,6 +11,7 @@ import PackageDescription
/// The CodeEditor package.
let package = Package(
name: "CodeEditor",
platforms: [.macOS(.v10_15)],
products: [
.library(
name: "CodeEditor",

View File

@ -8,7 +8,7 @@
import Adwaita
import CodeEditor
// swiftlint:disable missing_docs implicitly_unwrapped_optional no_magic_numbers
// swiftlint:disable missing_docs
@main
struct Test: App {
@ -17,7 +17,7 @@ struct Test: App {
@State private var text = ""
var scene: Scene {
Window(id: "main") { window in
Window(id: "main") { _ in
ScrollView {
CodeEditor(text: $text)
.innerPadding()
@ -41,4 +41,4 @@ struct Test: App {
}
// swiftlint:enable missing_docs implicitly_unwrapped_optional no_magic_numbers
// swiftlint:enable missing_docs

View File

@ -44,7 +44,8 @@
"build-commands": [
"swift build -c debug --static-swift-stdlib",
"install -Dm755 .build/debug/Test /app/bin/Test",
"swiftlint Sources"
"swiftlint Sources",
"swiftlint Tests"
]
}
]