Skip to content

Conversation

@santimorph
Copy link
Contributor

Should fix #858.

I went for the whole folder instead of just Busted and it's dependencies because doing just Busted would've left me trying to reference multiple specific paths per platform and that felt way too messy. Hope that's ok.

@github-actions
Copy link

Teal Playground URL: https://1057--teal-playground-preview.netlify.app

@hishamhm
Copy link
Member

hishamhm commented Dec 19, 2025

That's awesome! I triggered the CI twice on your PR and it ran a lot faster! Thank you for this :)

@hishamhm hishamhm merged commit d644355 into teal-language:main Dec 19, 2025
15 checks passed
luarocks lint tl-dev-1.rockspec
make selfbuild
luarocks test
Copy link

Choose a reason for hiding this comment

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

This is quite a bit of hoopla and repeated code you don't need to do.

If you just use actions/cache@v4 instead of manually using the save and restore functions separately then you only need to have one uses: block (at the point where the restore would be) and a hook takes care of the save automatically. See here for an example in use:

https://github.com/alerque/polytype/blob/master/.github/workflows/deploy.yml#L27-L31

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the review! I don't know how I missed that

How would I get a fix for this in? Another PR? @hishamhm

Copy link
Member

Choose a reason for hiding this comment

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

@santimorph Yes, a new PR would be fine!

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.

CI: we should cache Busted and its dependencies

3 participants