Skip to content

build(mise): bump swiftlint to 0.65.0 and drop unused python pin - #62

Merged
futamura merged 1 commit into
developfrom
build/bump-swiftlint-0.65.0
Aug 21, 2026
Merged

build(mise): bump swiftlint to 0.65.0 and drop unused python pin#62
futamura merged 1 commit into
developfrom
build/bump-swiftlint-0.65.0

Conversation

@futamura

Copy link
Copy Markdown
Owner

目的

Dependabot 非管轄の toolchain pin (.mise.toml) を棚卸しし、追従差分を解消する。

主要変更点

.mise.toml のみ変更。

  • swiftlint0.63.2 -> 0.65.0 へ bump (0.64.0 / 0.64.1 / 0.65.0 の 3 release 分)
  • 未使用の python = "3.14.5" pin を削除
  • ruby = "4.0.4" は据え置き

python pin を削除した理由

python は repo 全体で .mise.toml.gitignore 以外に出現がなく、CI でも install されない (ci.ymljdx/mise-action@v4install_args: swiftlint)。追従コストのみが残る死んだ pin のため削除する。

SwiftLint 0.65.0 の breaking を検討済み

いずれも本リポジトリには無影響。

  • 0.64.0: force_unwrappingignored_literal_argument_functions 挙動変更 / optional_data_string_conversionallow_implicit_init -> include_implicit_init rename → .swiftlint.yml に該当 option の設定なし
  • 0.64.0: 挙動が変わる file_types_order (SwiftSyntax 書き直し) と accessibility_label_for_image (false positive 修正) → どちらも opt-in rule で、.swiftlint.ymlopt_in_rules section がないため未有効
  • 0.65.0: breaking は「SwiftLint 自体の開発に Swift 6.1 以上が必要」のみで binary 利用側には無関係
  • 新規 rule の追加なし

.swiftlint-baseline.json の再生成は不要。

Verification

gate 結果
mise exec -- swiftlint version 0.65.0
CI 同等 lint (--config .swiftlint.yml --baseline .swiftlint-baseline.json --strict) Found 0 violations, 0 serious in 135 files / exit 0
git diff --check 出力なし
CI lint job 本 PR で確認
CI test job 本 PR で確認

Simulator / 実機確認は対象外。Sources/ 差分ゼロで transition / layout / gesture / animation / Storyboard / asset いずれも非変更。

調査で判明した追従不要項目

  • runner label は変更不要: macos-26macos-latest (arm64) の実体、ubuntu-latestubuntu-24.04 の実体。どちらもすでに最新 GA を指している
  • Xcode pin 26.4.1 は現時点で壊れていない: macos-26 image は 26.0.1 - 26.6 の 7 version を搭載し 26.4.1 も現存。default は 2026-07-21 に 26.6 へ変更済み ([macOS] Default Xcode on macOS 26 Tahoe will be set to Xcode 26.6 on 2026.07.21 actions/runner-images#14344) だが、各 workflow は明示 xcode-select するため影響を受けない。26.6 への bump は test / coverage / pages の 3 workflow が検証対象となるため、本 PR には含めず別タスクへ切り出した

@futamura
futamura merged commit 0e52637 into develop Aug 21, 2026
2 checks passed
@futamura
futamura deleted the build/bump-swiftlint-0.65.0 branch August 21, 2026 05:41
@futamura futamura mentioned this pull request Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant