Skip to content

ci: fix environment cache step ID in tests and release workflows - #146

Open
jdabid wants to merge 1 commit into
fintoc-com:masterfrom
jdabid:ci/fix-environment-cache-step-id
Open

jdabid wants to merge 1 commit into
fintoc-com:masterfrom
jdabid:ci/fix-environment-cache-step-id

Conversation

@jdabid

@jdabid jdabid commented Nov 22, 2026

Copy link
Copy Markdown

Summary

Fixes a step ID reference mismatch in .github/workflows/tests.yml and .github/workflows/release.yml.

Details

  • In both workflows, the cache step is defined with id: environment-cache.
  • However, the subsequent dependency installation step checked if: steps.poetry-cache.outputs.cache-hit != 'true'.
  • Because poetry-cache does not exist as a step ID in these workflows, cache-hit was never evaluated properly, causing dependency installation to run on every build even when the cache was valid (unlike linters.yml, which already uses steps.environment-cache).
  • Updated the condition in both workflows to reference steps.environment-cache.outputs.cache-hit.

Release notes

No label required (CI-only change that does not affect SDK end-users, per AGENTS.md guidelines).

@fin-review fin-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant