Skip to content

Bump appraisal-rb/setup-ruby-flash from 2.2 to 2.7 - #14

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/appraisal-rb/setup-ruby-flash-2.7
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/appraisal-rb/setup-ruby-flash-2.7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 24, 2026

Copy link
Copy Markdown
Contributor

Bumps appraisal-rb/setup-ruby-flash from 2.2 to 2.7.

Release notes

Sourced from appraisal-rb/setup-ruby-flash's releases.

Release v2.7

Fix rv fast-install validation. This is a workaround for this issue: spinel-coop/rv#792

After rv clean-install, the action now runs bundle check and falls back to bundle install when native extensions are missing.

Release v2.5

This release improves Windows native-extension setup for the rv fast path.

Fixed

  • Recovered Windows native gems after rv clean-install when extensions were not usable by Bundler.
  • Enabled and repaired MSYS2 DevKit drive mappings and junctions across Windows volumes.
  • Added diagnostics for active drives and native-extension build state.
  • Fixed the action YAML syntax.

Other

  • Corrected a RuboCop line-length issue in the retry-shell spec.

v2.4

What's Changed

Windows Support 🪟⚡

setup-ruby-flash now fully supports Windows runners (windows-latest, Windows Server 2022+) with feature parity to Linux and macOS:

  • rv Fast Path on Windows: Downloads prebuilt Windows release binaries from spinel-coop/rv (x86_64-pc-windows-msvc, aarch64-pc-windows-msvc), extracts them to ~/.local/bin, and manages modern MRI Ruby versions (3.2, 3.3, 3.4, 4.0) via prebuilt Ruby packages.
  • Compatibility Fallback on Windows: Automatically routes older Ruby versions (< 3.2), alternative engines (JRuby, TruffleRuby), or forced overrides (use-setup-ruby) to ruby/setup-ruby.
  • Path & Environment Normalization: Normalizes MSYS2 / Git Bash $PATH and exports Windows-compatible environment variables (GEM_HOME, GEM_PATH, BUNDLE_PATH) and GITHUB_PATH across PowerShell, cmd, and Git Bash.
  • Build-from-Source Optimization: When building rv from source via rv-git-ref, targets only -p rv to avoid compiling workspace fuzzing crates on Windows MSVC.
  • rv clean-install on Windows: bundler-cache: true uses rv clean-install on Windows, with ore gracefully skipped with an informative notice.

Full Changelog: appraisal-rb/setup-ruby-flash@v2.3...v2.4

v2.3

What's Changed

Full Changelog: appraisal-rb/setup-ruby-flash@v2.2...v2.3

Changelog

Sourced from appraisal-rb/setup-ruby-flash's changelog.

setup-ruby-flash Changelog Entry

[Unreleased]

Added

  • Windows Support: setup-ruby-flash now supports Windows runners (windows-latest, Windows Server 2022+) with full feature parity to Linux and macOS

    • rv Fast Path on Windows: Installs prebuilt Windows rv binaries (x86_64-pc-windows-msvc, aarch64-pc-windows-msvc) and manages modern MRI Ruby versions (3.2, 3.3, 3.4, 4.0) via prebuilt Ruby packages
    • Environment & Path Integration: Exports Windows-normalized environment variables (GEM_HOME, GEM_PATH, BUNDLE_PATH) and adds Ruby binaries to GITHUB_PATH in Windows-compatible format
    • Automatic Compatibility Fallback: Automatically falls back to ruby/setup-ruby on Windows for older Rubies (< 3.2), alternate engines (JRuby, TruffleRuby), or when forced via use-setup-ruby
    • Windows Shell Path Safety: Normalizes backslashes in GITHUB_ACTION_PATH to ensure Git Bash correctly sources action scripts and helper utilities
  • Deterministic install failures are not retried: gem-install-retries and appraisal-install-retries stop at the first attempt when the failure will repeat

    • Recognized failures: native extension build errors, dependency resolution conflicts, incompatible Ruby versions, Gemfile/gemspec load errors, lockfile or platform mismatches, and git authentication failures
    • Transient failures (network errors, a gem not yet in the index) still retry with exponential backoff
    • All retrying install steps share one helper, scripts/retry.sh, which keeps each attempt's output for classification and returns the command's exit status
  • Appraisal Setup Inputs: setup-ruby-flash can now install trusted pre-bundle gems, prepare an appraisal root Gemfile, cache appraisal gems, and retry appraisal2 installs

    • pre-bundle-gems and pre-appraisal-root-gemfile-gems accept newline-separated gem install argument lines
    • appraisal-name runs bundle exec appraisal <name> install when provided
    • main-bundle-install: false skips the main Gemfile install for appraisal-only workflows
    • appraisal-install-retries defaults to 2 and retries without changing configured Gemfile sources
    • Setup decisions are precomputed as named step outputs so workflow conditions remain auditable
  • Ruby Summary Detail: Workflow summaries now show the installed Ruby patch version when it differs from the selected Ruby line

    • Summary headings include the setup-ruby-flash action version when it can be resolved at runtime
    • rv fast-path summaries show values like 4.0 (4.0.6)
    • ruby/setup-ruby compatibility summaries include a separate installed Ruby description row for engines and head builds
    • *-head compatibility summaries include a Ruby build revision row when the runtime exposes one
  • bundler-cache Input: New bundler-cache input for seamless compatibility with ruby/setup-ruby

    • Uses rv clean-install for modern Ruby versions supported by setup-ruby-flash
    • Retries Bundler lockfile generation and rv gem installation without changing Gemfile sources
    • Allows true drop-in replacement: just change action name, keep all inputs the same
    • When using the compatibility path to ruby/setup-ruby, bundler-cache is passed through directly
    • Perfect for migrating from ruby/setup-ruby with zero workflow changes
  • gem-install-retries Input: New gem-install-retries input controls retry attempts for dependency resolution and gem installation

    • Defaults to 4
    • Retries keep the configured Gemfile sources, avoiding fallback to alternate gem hosts
  • Automatic Compatibility Path to ruby/setup-ruby: setup-ruby-flash now automatically uses the ruby/setup-ruby compatibility path for unsupported Ruby versions and implementations

    • Automatically detects Ruby version < 3.2 (2.7, 3.0, 3.1, etc.) and uses ruby/setup-ruby
    • Automatically detects non-MRI implementations (JRuby, TruffleRuby, etc.) and uses ruby/setup-ruby
    • Enables true drop-in replacement behavior - use setup-ruby-flash everywhere, get best performance where available
    • Shows informative notice when the compatibility path is selected: Selected ruby/setup-ruby compatibility path for Ruby version 'X.X' because rv fast path currently supports: 3.2 3.3 3.4 4.0.
    • All inputs are passed through to ruby/setup-ruby when using the compatibility path
    • Perfect for matrix builds that test across multiple Ruby versions (2.7 through 4.0)
    • Manual Override Controls: New use-setup-ruby and use-setup-ruby-flash inputs allow forcing specific versions to use one action or the other
      • use-setup-ruby: Force the ruby/setup-ruby compatibility path for supported versions (useful for benchmarking setup-ruby-flash vs setup-ruby)

... (truncated)

Commits
  • b7ed1ca 🐛 Validate rv bundles before skipping Bundler
  • 1433e3c fix: use cross-platform sha256sum/shasum for macOS compatibility
  • a6cffe1 🐛 Enable MSYS2 DevKit on Windows and fallback rv clean-install to Bundler (#24)
  • 8562306 ✨ Support Windows runners with rv fast path and compatibility fallback (#23)
  • e009a79 ⚡️ Stop retrying deterministic gem install failures (#22)
  • See full diff 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 [appraisal-rb/setup-ruby-flash](https://github.com/appraisal-rb/setup-ruby-flash) from 2.2 to 2.7.
- [Release notes](https://github.com/appraisal-rb/setup-ruby-flash/releases)
- [Changelog](https://github.com/appraisal-rb/setup-ruby-flash/blob/main/CHANGELOG.md)
- [Commits](appraisal-rb/setup-ruby-flash@f15d6ab...b7ed1ca)

---
updated-dependencies:
- dependency-name: appraisal-rb/setup-ruby-flash
  dependency-version: '2.7'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Sep 24, 2026
@github-actions
github-actions Bot requested a review from pboling September 24, 2026 00:33
@github-actions

Copy link
Copy Markdown

Code Coverage

Package Line Rate Branch Rate Health
anonymous_loader 96% 82% ➖
Summary 96% (105 / 109) 82% (31 / 38) ➖

Minimum allowed line rate is 92%

@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 35938960851

Coverage remained the same at 92.517%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 109
Covered Lines: 105
Line Coverage: 96.33%
Relevant Branches: 38
Covered Branches: 31
Branch Coverage: 81.58%
Branches in Coverage %: Yes
Coverage Strength: 4.07 hits per line

💛 - Coveralls

@dependabot @github

dependabot Bot commented on behalf of github Oct 1, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #17.

@dependabot dependabot Bot closed this Oct 1, 2026
@dependabot
dependabot Bot deleted the dependabot/github_actions/appraisal-rb/setup-ruby-flash-2.7 branch October 1, 2026 00:36
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.

2 participants