Skip to content

Commit

Permalink
Migrate to String Catalogs and introduce Markdown Lint Check
Browse files Browse the repository at this point in the history
  • Loading branch information
Supereg committed Nov 8, 2023
1 parent a026fda commit 8654b51
Show file tree
Hide file tree
Showing 12 changed files with 740 additions and 150 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/markdown-lint-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#
# This source file is part of the Stanford Spezi open source project
#
# SPDX-FileCopyrightText: 2023 Stanford University and the project authors (see CONTRIBUTORS.md)
#
# SPDX-License-Identifier: MIT
#

name: Monthly Markdown Link Check

on:
# Runs at midnight on the first of every month
schedule:
- cron: "0 0 1 * *"

jobs:
markdown_link_check:
name: Markdown Link Check
uses: StanfordBDHG/.github/.github/workflows/markdown-link-check.yml@v2
3 changes: 3 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ jobs:
swiftlint:
name: SwiftLint
uses: StanfordSpezi/.github/.github/workflows/swiftlint.yml@v2
markdown_link_check:
name: Markdown Link Check
uses: StanfordBDHG/.github/.github/workflows/markdown-link-check.yml@v2
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ actor FirebaseIdentityProviderAccountService: IdentityProvider, FirebaseAccountS
throw FirebaseAccountError.notSignedIn
}

try await context.dispatchFirebaseAuthAction(on: self) { () -> Void in
try await context.dispatchFirebaseAuthAction(on: self) {
guard let credential = try await requestAppleSignInCredential() else {
return // user canceled
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ extension FirebaseEmailVerifiedKey {
public typealias Key = FirebaseEmailVerifiedKey

public var body: some View {
Text("The FirebaseEmailVerifiedKey cannot be set!")
Text(verbatim: "The FirebaseEmailVerifiedKey cannot be set!")
}

public init(_ value: Binding<Value>) {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ extension FirebaseOAuthCredentialKey {
public typealias Key = FirebaseOAuthCredentialKey

public var body: some View {
Text("The FirebaseOAuthCredentialKey cannot be set!")
Text(verbatim: "The FirebaseOAuthCredentialKey cannot be set!")
}

public init(_ value: Binding<Value>) {}
Expand All @@ -69,7 +69,7 @@ extension FirebaseOAuthCredentialKey {
public typealias Key = FirebaseOAuthCredentialKey

public var body: some View {
Text("The FirebaseOAuthCredentialKey cannot be displayed!")
Text(verbatim: "The FirebaseOAuthCredentialKey cannot be displayed!")
}

public init(_ value: Value) {}
Expand Down
Loading

0 comments on commit 8654b51

Please sign in to comment.