Skip to content

feat:ci(tooling): centralize version pins to prevent multi-file stale… - #517

Merged
misrasamuelisiguzor-oss merged 2 commits into
WHEELBACK:mainfrom
YahKazo:ci/centralize-version-pins
Aug 31, 2026
Merged

feat:ci(tooling): centralize version pins to prevent multi-file stale…#517
misrasamuelisiguzor-oss merged 2 commits into
WHEELBACK:mainfrom
YahKazo:ci/centralize-version-pins

Conversation

@YahKazo

@YahKazo YahKazo commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Centralize GitHub Actions version pins in a single source of truth and add a guard that fails if any workflow reintroduces a hardcoded copy of the same pinned values.

This prevents stale version drift like the Stellar CLI pin being updated in one workflow but left behind in another. The change keeps the repo’s CI toolchain and CLI versions synchronized while making future regressions easy to catch automatically.
Changes
Added versions.env as the single source of truth for:
RUST_VERSION
STELLAR_CLI_VERSION
Updated GitHub Actions workflows to load the values from that file instead of hardcoding them inline:
build.yml
init-smoke-test.yml
contract-size.yml
test.yml
fmt.yml
lint.yml
Added a workflow-version guard script:
check-workflow-version-pins.sh
Hooked that check into the local pre-commit flow:
.pre-commit-config.yaml
Updated the local tool validation script to read the same central version values:
check-tools.sh
closes #438
closes #434

@drips-wave

drips-wave Bot commented Aug 29, 2026

Copy link
Copy Markdown

@YahKazo Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@misrasamuelisiguzor-oss
misrasamuelisiguzor-oss merged commit 2870d94 into WHEELBACK:main Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants