Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds strict param for swift-lint #55

Closed
wants to merge 3 commits into from
Closed
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
2 changes: 1 addition & 1 deletion .github/workflows/swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: SwiftLint

on:
pull_request:
types: [ready_for_review]
types: [opened, ready_for_review, synchronize]

jobs:
swiftlint:
Expand Down
1 change: 1 addition & 0 deletions iosApp/Generated/SwiftBridgeCore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1322,3 +1322,4 @@ extension Optional where Wrapped == Bool {
__private__OptionBool(self)
}
}
// swiftlint:enable all
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// swiftlint:disable all

public func get_secp256k1_identity(_ jwk_key: JwkEcKey) throws -> Secp256k1Identity {
try { let val = __swift_bridge__$get_secp256k1_identity({jwk_key.isOwned = false; return jwk_key.ptr;}()); if val.is_ok { return Secp256k1Identity(ptr: val.ok_or_err!) } else { throw Secp256k1Error(ptr: val.ok_or_err!) } }()
}
Expand Down Expand Up @@ -34496,5 +34497,4 @@ extension ServiceRef {
}
}
}


// swiftlint:enable all
1 change: 0 additions & 1 deletion iosApp/iosApp/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import SwiftUI
import secp256k1

struct ContentView: View {
// let greet = Greeting().greet()

var body: some View {
Text("greet")
Expand Down
2 changes: 1 addition & 1 deletion iosApp/iosApp/Extensions/SwiftBindings+Extensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ extension PrincipalError: Error {
}

extension RustString: Error {

}

extension Secp256k1Error: Error {
Expand Down