Skip to content

Bump coursier/cache-action from 8 to 9 - #182

Merged
giarc3 merged 1 commit into
mainfrom
dependabot/github_actions/coursier/cache-action-9
Nov 2, 2026
Merged

giarc3 merged 1 commit into
mainfrom
dependabot/github_actions/coursier/cache-action-9

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Bumps coursier/cache-action from 8 to 9.

Release notes

Sourced from coursier/cache-action's releases.

9.0.0

Highlights

This is a major release because existing caches will mostly not be reused: the Coursier cache path changed, and the way cache keys are computed changed for some setups. Expect cache misses on the first run after upgrading. Workflow files need no other changes.

Only Coursier's v1 directory is cached (#875)

The action now caches only the Coursier cache itself (~/.cache/coursier/v1 on Linux, ~/Library/Caches/Coursier/v1 on macOS, ~\AppData\Local\Coursier\Cache\v1 on Windows). It no longer caches the whole Coursier directory, which also holds the archive cache (arc). Its contents are re-extracted from the archives in v1 when needed.

This makes caches smaller and saving them more reliable.

Same cache keys with CRLF and LF line endings (#875)

When build files are hashed for cache keys, CRLF line endings are now treated as LF. A Windows job that checks files out with core.autocrlf therefore gets the same keys as Linux and macOS jobs. Keys for files that already use LF line endings don't change.

Better Mill detection (#878)

The Mill cache (~/.cache/mill) is now enabled when any of these files are found:

  • build.mill, build.mill.yaml, build.mill.scala
  • mill-build/build.mill, mill-build/build.mill.yaml
  • .mill-* (like .mill-version) and .config/mill-* (like .config/mill-version)
  • mill, mill.bat, millw launcher scripts

Before, only .mill-version and the mill script were checked.

The Mill cache key also includes the sub-module build files (**/package.mill, **/package.mill.yaml, **/package.mill.scala). Changing a sub-module's build now updates the cache.

Documentation

  • The README has been largely rewritten. It now covers which directories get cached and when, how cache keys are built, and every input and output, with examples (#877).
  • Ammonite cache support is deprecated and no longer documented. It still works for now (~/.ammonite, ammoniteScripts, ignoreAmmonite, …), but may be removed in a future release (#877).

Updates / maintenance

Full Changelog: coursier/cache-action@v8.2.0...v9.0.0

8.2.0

What's Changed

Updates / maintenance

... (truncated)

Commits
  • ee0650f Update dist (#881)
  • c60a1bc Use Node.js 24 for dist updates (#880)
  • 8303f14 Merge pull request #879 from alexarchambault/improve-cache-action
  • 5f046a0 Add unit tests for cache keys and cache mode
  • 2ea70b1 Move the cache key computation to its own module
  • 69aafd4 Add the OS and CPU architecture to the sbt, mill and Ammonite cache keys
  • 398468c Hash extra content in memory, rather than via a temporary file
  • 1793d30 Declare and document the extraCoursierKey, extraCoursierHashedContent and rea...
  • 7a7a97e Cache the directory COURSIER_CACHE points to, if it is set
  • 8bd5152 Use process.platform to find the coursier cache location
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Nov 1, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner November 1, 2026 02:52
@dependabot
dependabot Bot requested review from giarc3 and removed request for a team November 1, 2026 02:52
@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown

Merging this PR will move these workflow tags:

scala-ci-v2.0.0

Bumps [coursier/cache-action](https://github.com/coursier/cache-action) from 8 to 9.
- [Release notes](https://github.com/coursier/cache-action/releases)
- [Commits](coursier/cache-action@v8...v9)

---
updated-dependencies:
- dependency-name: coursier/cache-action
  dependency-version: '9'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/github_actions/coursier/cache-action-9 branch from 4e3c8ed to 65320da Compare November 2, 2026 21:23
@giarc3
giarc3 merged commit 8d8d07b into main Nov 2, 2026
12 checks passed
@giarc3
giarc3 deleted the dependabot/github_actions/coursier/cache-action-9 branch November 2, 2026 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant