summaryrefslogtreecommitdiff
path: root/.github/workflows/tarball-windows.yml
AgeCommit message (Collapse)Author
41 hoursBump actions/checkout to v6.0.3Hiroshi SHIBATA
Dependabot left the version comment as v6.0.2 on the four lines that carry a trailing `# zizmor: ignore[artipacked]`, since its comment rewriter only handles a version comment as the last token on the line. zizmor flagged the resulting hash/comment mismatch. Update every checkout pin in .github to the v6.0.3 commit and comment at once.
8 daysPass only the required secrets to tarball reusable workflowsHiroshi SHIBATA
Replace secrets: inherit with explicit Slack webhook secrets, which are the only secrets the ubuntu/macos/windows builds use. tarball-non-development uses no secrets, so drop inherit there entirely.
8 daysRestrict GITHUB_TOKEN permissions in tarball reusable workflowsHiroshi SHIBATA
These reusable workflows only check out, download artifacts, build, and test, so contents: read is sufficient.
2026-05-22Bump the github-actions group across 1 directory with 5 updatesdependabot[bot]
Bumps the github-actions group with 5 updates in the / directory: | Package | From | To | | --- | --- | --- | | [ruby/setup-ruby](https://github.com/ruby/setup-ruby) | `1.307.0` | `1.310.0` | | [zizmorcore/zizmor-action](https://github.com/zizmorcore/zizmor-action) | `0.5.3` | `0.5.6` | | [github/codeql-action](https://github.com/github/codeql-action) | `4.35.4` | `4.35.5` | | [ruby/action-slack](https://github.com/ruby/action-slack) | `3.2.2` | `4.0.0` | | [taiki-e/install-action](https://github.com/taiki-e/install-action) | `2.78.0` | `2.79.4` | Updates `ruby/setup-ruby` from 1.307.0 to 1.310.0 - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb) - [Commits](https://github.com/ruby/setup-ruby/compare/6aaa311d81eba98ae12eaffbcb63296ace0efcde...afeafc3d1ab54a631816aba4c914a0081c12ff2f) Updates `zizmorcore/zizmor-action` from 0.5.3 to 0.5.6 - [Release notes](https://github.com/zizmorcore/zizmor-action/releases) - [Commits](https://github.com/zizmorcore/zizmor-action/compare/b1d7e1fb5de872772f31590499237e7cce841e8e...5f14fd08f7cf1cb1609c1e344975f152c7ee938d) Updates `github/codeql-action` from 4.35.4 to 4.35.5 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/68bde559dea0fdcac2102bfdf6230c5f70eb485e...9e0d7b8d25671d64c341c19c0152d693099fb5ba) Updates `ruby/action-slack` from 3.2.2 to 4.0.0 - [Release notes](https://github.com/ruby/action-slack/releases) - [Commits](https://github.com/ruby/action-slack/compare/54175162371f1f7c8eb94d7c8644ee2479fcd375...d260b61aa817726d5bedd22dd6cc305787fa4cdd) Updates `taiki-e/install-action` from 2.78.0 to 2.79.4 - [Release notes](https://github.com/taiki-e/install-action/releases) - [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/taiki-e/install-action/compare/e1c4cd42111751368541a7cb5db3522bd1f846a4...e0eafa9a0d485c37f97c0f7beb930a58a2facbac) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-version: 1.310.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions - dependency-name: zizmorcore/zizmor-action dependency-version: 0.5.6 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: github/codeql-action dependency-version: 4.35.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: ruby/action-slack dependency-version: 4.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: taiki-e/install-action dependency-version: 2.79.4 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com>
2026-05-22Align tarball-test setup-ruby with the rest of the repoHiroshi SHIBATA
Bump ruby/setup-ruby to v1.307.0 (matching the 17 other workflows that already pin this SHA) and use Ruby 3.2 as the host interpreter on both Ubuntu and Windows. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-22Install gmp on every tarball-test platformHiroshi SHIBATA
macOS already pulled gmp via brew so bignum tests linked against it, while ubuntu/non-development/windows skipped it and quietly used the pure-C fallback. Add libgmp-dev on apt and gmp on vcpkg so all platforms build bignum.c against gmp consistently. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-22Drop readline and curses from tarball-test dependency installHiroshi SHIBATA
ext/readline and ext/curses are no longer shipped from ruby/ruby, so libreadline / libncurses are unused at build and run time. Remove them from apt / brew / vcpkg lists, drop the matching --with-readline-dir configure flag on macOS, and simplify the Windows DLL symlink loop that was carved out to skip readline.dll. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-22Use archname as Slack link label for tarball-test failuresHiroshi SHIBATA
Before the workflows were unified into the tarball-test reusable, the github.workflow value itself encoded the branch (snapshot-master / snapshot-ruby_3_4 etc.) and made schedule notifications self-describing. The unified workflow collapsed that to "tarball-test", so put inputs.archname back into the link label to restore the prior signal. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-22Disable credential persistence in tarball-test slack checkoutHiroshi SHIBATA
The sparse checkout used to expose .github/actions/slack on failure inherits the default persist-credentials: true, which leaves the GITHUB_TOKEN in the workspace git config. Match the convention used by mingw.yml / wasm.yml / parse_y.yml and silence the zizmor credential persistence warning. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-22Route tarball-test failure Slack through the shared compositeHiroshi SHIBATA
Direct ruby/action-slack calls fired on every failure() including fork PRs, where secrets.SIMPLER_ALERTS_URL is empty and the action crashed with 'Cannot read properties of null'. Switch the SIMPLER_ALERTS_URL step to ./.github/actions/slack so the existing push-only and ruby/* repository guards apply, matching the 21 other workflows that already go through this composite. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-21Drop gem and bundle smoke test from tarball-windowsHiroshi SHIBATA
The bin/gem and bin/bundle scripts in the source tree do not run cleanly without an install step on Windows. Keep ruby -v only.
2026-05-21Route tarball-test failure notifications to two Slack channelsHiroshi SHIBATA
SIMPLER_ALERTS_URL always fires on failure so developer-facing CI (PR, push, merge_group, manual dispatch) surfaces breakage in the ruby-core channel. notify-release-channel additionally routes to SNAPSHOT_SLACK_WEBHOOK_URL for the daily snapshot dispatcher and future draft-release callers, with the same payload schema as before except commit now comes from github.sha.
2026-05-21Verify gem and bundle in tarball-macos and tarball-windowsHiroshi SHIBATA
Match the smoke test added to tarball-ubuntu. macos checks the installed /usr/local/bin/{ruby,gem,bundle}; windows runs the build-tree ruby against bin/{gem,bundle} from the extracted tarball because the workflow has no install step.
2026-05-21Drop unused patch-url input from tarball-* reusablesHiroshi SHIBATA
No caller passes patch-url: tarball-test.yml never set it, and ruby/actions draft-release.yml stopped forwarding it once it started calling these workflows by ref. Remove the input and the Apply patch step from the ubuntu, macos, and windows reusables.
2026-05-20Inline tarball-windows modern matrix and drop the legacy modeHiroshi SHIBATA
The legacy mode (vs2022 + vcvars 14.2) is no longer exercised, so collapse the conditional matrix into the modern 2022 / 2025-vs2026 pair and remove the now-dead setup-env (legacy) step.
2026-05-19Run tarball-test on a daily schedule and gate Slack on itHiroshi SHIBATA
Add a daily 18:30 UTC schedule trigger to match the existing ruby/actions snapshot cron, and limit the Slack failure notifications in the reusable workflows to schedule runs. PRs and merge_group runs are still gated by the workflow's CI status, but won't spam the Snapshot/SimplerAlerts channels or fail on missing webhook secrets in forks. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-19Pass inputs through env to avoid template injectionHiroshi SHIBATA
zizmor flags inline `${{ inputs.X }}` expansions inside run scripts as template-injection errors. Reusable workflow inputs come from the in-repo caller and are trusted, but routing them through env avoids the class of mistake entirely and silences the audit without per-line ignores. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-19Add tarball-test workflow for snapshot tarball CIHiroshi SHIBATA
Port the daily snapshot tarball pipeline from ruby/actions into ruby/ruby so the tarball build and per-OS tests run on every push and pull request. The make-snapshot composite action gains a srcdir input so the same logic can either clone ruby/ruby (daily upload from ruby/actions) or operate on the working tree (this workflow). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>