pommdau / github-repository-search

GitHubリポジトリを検索するiOSアプリケーションの実装
Apache License 2.0
1 stars 0 forks source link

SwiftPMのSwiftLintプラグインの追加・GitHubActionsでの実行処理を追加 #33

Closed pommdau closed 2 months ago

pommdau commented 2 months ago

Issue

Overview

TBD

Details (Optional)

TBD

Checklist

Reference(s) (Optional)

github-actions[bot] commented 2 months ago
Fails
:no_entry_sign: `danger-swift` failed.

Log

``` /var/folders/0g/hj_q_pzx65bbjnslxz9n0src0000gn/T/danger/48EDA24B-00BD-4CFD-8930-9E5AE0287CFA/_tmp_dangerfile.swift:14:11: error: ambiguous use of 'lint' SwiftLint.lint(inline: true) ^ Danger.SwiftLint:13:24: note: found this candidate public static func lint(inline: Bool = false, directory: String? = nil, configFile: String? = nil, strict: Bool = false, quiet: Bool = true, lintAllFiles: Bool = false, swiftlintPath: String? = nil) -> [Danger.SwiftLintViolation] ^ Danger.SwiftLint:18:24: note: found this candidate public static func lint(_ lintStyle: Danger.SwiftLint.LintStyle = .modifiedAndCreatedFiles(directory: nil), inline: Bool = false, configFile: String? = nil, strict: Bool = false, quiet: Bool = true, swiftlintPath: Danger.SwiftLint.SwiftlintPath? = nil, markdownAction: (String) -> Void = markdown) -> [Danger.SwiftLintViolation] ^ /var/folders/0g/hj_q_pzx65bbjnslxz9n0src0000gn/T/danger/48EDA24B-00BD-4CFD-8930-9E5AE0287CFA/_tmp_dangerfile.swift:17:37: error: ambiguous use of 'lint' let swiftLintViolations = SwiftLint.lint() ^ Danger.SwiftLint:13:24: note: found this candidate public static func lint(inline: Bool = false, directory: String? = nil, configFile: String? = nil, strict: Bool = false, quiet: Bool = true, lintAllFiles: Bool = false, swiftlintPath: String? = nil) -> [Danger.SwiftLintViolation] ^ Danger.SwiftLint:18:24: note: found this candidate public static func lint(_ lintStyle: Danger.SwiftLint.LintStyle = .modifiedAndCreatedFiles(directory: nil), inline: Bool = false, configFile: String? = nil, strict: Bool = false, quiet: Bool = true, swiftlintPath: Danger.SwiftLint.SwiftlintPath? = nil, markdownAction: (String) -> Void = markdown) -> [Danger.SwiftLintViolation] ^ /var/folders/0g/hj_q_pzx65bbjnslxz9n0src0000gn/T/danger/48EDA24B-00BD-4CFD-8930-9E5AE0287CFA/_tmp_dangerfile.swift:19:67: error: cannot infer contextual base in reference to member 'warning' for violation in swiftLintViolations where violation.severity == .warning || violation.severity == .error { ~^~~~~~~ ERROR: Dangerfile eval failed at Danger.swift ERROR: Could not get the results JSON file at /var/folders/0g/hj_q_pzx65bbjnslxz9n0src0000gn/T/danger/48EDA24B-00BD-4CFD-8930-9E5AE0287CFA/danger-response.json  ```

Generated by :no_entry_sign: dangerJS against db063bcc3a75402ada2d901822585e05bf8a3d89