Skip to content

refactor(githubactions): source action pins from V.scala - #826

Merged
khajavi merged 1 commit into
zio:mainfrom
khajavi:bumpt-actions
Oct 5, 2026
Merged

khajavi merged 1 commit into
zio:mainfrom
khajavi:bumpt-actions

Conversation

@khajavi

@khajavi khajavi commented Oct 5, 2026

Copy link
Copy Markdown
Member

Summary

  • Move V.scala from zio-sbt-ci to zio-sbt-githubactions (zio-sbt-ci depends on it, so the package zio.sbt is unchanged for ci).
  • Replace every hardcoded action ref in ScalaWorkflow with V(...).
  • Add actions/cache, olafurpg/setup-scala, olafurpg/setup-gpg, fregante/setup-git-user, softprops/turnstyle and jwalton/gh-docker-logs to V.
  • Update the old V.scala path in renovate.json, the sync script, the regenerate workflows and build.sbt comments.

Behaviour change

ScalaWorkflow now emits: checkout v6 -> v7.0.1, setup-node v6 -> v7.0.0, upload-artifact v2 -> v4, download-artifact v2 -> v8, cache v2 -> v6.1.0. Other pins keep their previous versions.

Test plan

  • sbt zio-sbt-githubactions/compile zio-sbt-ci/compile
  • sbt scalafmtCheckAll
  • CI

Move V.scala from zio-sbt-ci to zio-sbt-githubactions so ScalaWorkflow can
use it (zio-sbt-ci depends on zio-sbt-githubactions), and replace every
hardcoded action ref in ScalaWorkflow with V(...). Adds the six actions
that were missing from V. actions/cache moves from the dead v2 to v6.1.0;
other pins keep their current versions.
@khajavi
khajavi merged commit 9bfd19a into zio:main Oct 5, 2026
15 checks passed
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