Skip to content

ci: bump actions/cache from 4 to 6 - #18

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/actions/cache-6
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/actions/cache-6

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 29, 2026

Copy link
Copy Markdown

Bumps actions/cache from 4 to 6.

Release notes

Sourced from actions/cache's releases.

v6.0.0

What's Changed

Full Changelog: actions/cache@v5...v6.0.0

v5.1.0

What's Changed

Full Changelog: actions/cache@v5...v5.1.0

v5.0.5

What's Changed

Full Changelog: actions/cache@v5...v5.0.5

v5.0.4

What's Changed

New Contributors

Full Changelog: actions/cache@v5...v5.0.4

v5.0.3

What's Changed

Full Changelog: actions/cache@v5...v5.0.3

v.5.0.2

v5.0.2

What's Changed

... (truncated)

Changelog

Sourced from actions/cache's changelog.

Releases

How to prepare a release

[!NOTE] Relevant for maintainers with write access only.

  1. Switch to a new branch from main.
  2. Run npm test to ensure all tests are passing.
  3. Update the version in https://github.com/actions/cache/blob/main/package.json.
  4. Run npm run build to update the compiled files.
  5. Update this https://github.com/actions/cache/blob/main/RELEASES.md with the new version and changes in the ## Changelog section.
  6. Run licensed cache to update the license report.
  7. Run licensed status and resolve any warnings by updating the https://github.com/actions/cache/blob/main/.licensed.yml file with the exceptions.
  8. Commit your changes and push your branch upstream.
  9. Open a pull request against main and get it reviewed and merged.
  10. Draft a new release https://github.com/actions/cache/releases use the same version number used in package.json
    1. Create a new tag with the version number.
    2. Auto generate release notes and update them to match the changes you made in RELEASES.md.
    3. Toggle the set as the latest release option.
    4. Publish the release.
  11. Navigate to https://github.com/actions/cache/actions/workflows/release-new-action-version.yml
    1. There should be a workflow run queued with the same version number.
    2. Approve the run to publish the new version and update the major tags for this action.

Changelog

6.1.0

6.0.0

  • Updated @actions/cache to ^6.0.1, @actions/core to ^3.0.1, @actions/exec to ^3.0.0, @actions/io to ^3.0.2
  • Migrated to ESM module system
  • Upgraded Jest to v30 and test infrastructure to be ESM compatible

5.0.4

  • Bump minimatch to v3.1.5 (fixes ReDoS via globstar patterns)
  • Bump undici to v6.24.1 (WebSocket decompression bomb protection, header validation fixes)
  • Bump fast-xml-parser to v5.5.6

5.0.3

5.0.2

... (truncated)

Commits
  • 55cc834 Merge pull request #1768 from jasongin/readonly-cache
  • d8cd72f Bump @​actions/cache to v6.1.0 - handle cache write error due to RO token
  • 2c8a9bd Merge pull request #1760 from actions/samirat/esm_migration_and_package_update
  • e9b91fd Prettier fixes
  • e4884b8 Rebuild dist
  • 10baf01 Fixed licenses
  • e39b386 Fix test mock return order
  • b692820 PR feedback
  • 6074912 Rebuild dist bundles as ESM to match type:module
  • 5a912e8 Fix lint and jest issues
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [actions/cache](https://github.com/actions/cache) from 4 to 6.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v4...v6)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Aug 29, 2026

Copy link
Copy Markdown
Author

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@ayutaz

ayutaz commented Aug 29, 2026

Copy link
Copy Markdown
Owner

同じ更新を #28 で取り込み済みです(main の ef658e2)。

9 件を個別にマージすると CI を 9 回回すことになり、この repository ではそれが API のレート制限に当たってすべての PR が落ちる原因そのものでした。1 本にまとめて 1 回で判定しています。

NuGet の 4 件はローカルで実測済みです — xunit.runner.visualstudio 2→4 でも L3 は 36 件成功、JunitXml.TestLogger 4→8 でも結果 XML は JUnit 形式のままでした。

@ayutaz ayutaz closed this Aug 29, 2026
@ayutaz
ayutaz deleted the dependabot/github_actions/actions/cache-6 branch August 29, 2026 03:42
@dependabot @github

dependabot Bot commented on behalf of github Aug 29, 2026

Copy link
Copy Markdown
Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

ayutaz added a commit that referenced this pull request Sep 1, 2026
Dependabot の PR #49(codeql-action v3 -> v4)を取り込み、点検で見つかった
不整合 3 件を同じ差分で直して、再発を検査に落とした。#49 は close 済み。

## 直した 3 件(どれも CI は緑のままだった)

- **actions/upload-artifact が unity-probe.yml だけ v6 で残っていた。**
  手動起動の workflow なので、次に誰かが起動するまで走りもしない。
- **docker://rhysd/actionlint:latest が固定されていなかった。** しかも
  この形式は Dependabot が構造的に見ない(parser が docker:// を
  明示的に読み飛ばす)。最も追跡しにくい参照が、最も追跡されなかった。
- **game-ci/unity-test-runner が node20 を宣言する唯一の action だった。**
  安定版に node24 のものが無い(@v4 と @v4.3.1 は同一コミット)ので、
  v5.0.0-beta.1 の commit へ。**tag ではなく commit で固定した** ——
  pre-release のタグは上流が消せ、消えた日に全 PR が merge できなくなる。

## 記録したもの

**Dependabot の PR は、この構成では構造的に merge できない。** GitHub は
bot が起こした実行にリポジトリの secret を渡さないので、必須チェックで
ある Unity の 2 レーンが必ず落ちる(#49 は他の 25 本が全部緑だった)。
#18〜#26 の 9 件が閉じてあるのも同じ理由だが、どこにも書かれていなかった。

## 足した検査(速いレーン)

全 uses: が固定された版であること / 同じ action が 2 つの版で参照されて
いないこと / 全 csproj の PackageReference が同じ版であること。いずれも
拾えた数と緩い数え方を突き合わせ、空振りしたら緑ではなく落ちる。

## AI レビュー: Critical 0 / Important 6、全部修正

最大の指摘は **2 つの門が同じ穴を共有していた**こと —— 引用符が付くだけで
pin 検査と版の割れ検査の両方を素通りし、「拾えた数」の門も誤った値で
数えるので発火しなかった。**書いたコメント自身がその形を守ると宣言して
いた。** 参照を積極的に分類し、知らない形は落とすようにした。

6 通りの壊し方で実測(引用符付きの版違い / 同・動くタグ / csproj の属性順
入替 / <Version> 子要素 は素通り -> FAIL に、ローカル action / SHA + 行末
コメント は誤検知 -> PASS に)。

レビュアーは dist の差分を根拠にした指摘を、実際の patch を読んで撤回した
(差分は UNITY_LICENSING_SERVER と PRIVATE_REGISTRY_TOKEN の分岐の中だけで、
このリポジトリはどちらも使わない)。ただし「契約は変わらない」という書き方
自体は action.yml を測って挙動を主張しており根拠になっていないので、
**挙動の根拠はこの PR の CI run に置く**と書き直した。

## CI の実測(v5 beta での最初の実績)

必須 21 本すべて緑。Unity は EditMode 34 passed / Standalone 19 passed で
**v4 のときと同じ数字**、native plugins present: 5 も同じ。game-ci が作る
check run の conclusion も v4 と同じ neutral で、挙動差は無い。

## 残る穴

pre-release を必須チェックに入れている(上流自身が main CI を避けろと
書いている)。安定版が出たら差し替える。
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