theupdateframework / specification

The Update Framework specification
https://theupdateframework.github.io/specification/
Other
368 stars 54 forks source link

Use new actions/setup-python builtin caching #245

Closed lukpueh closed 2 years ago

lukpueh commented 2 years ago

Replaces more laborious use of actions/cache in GitHub workflows.

Fixes #193 Closes #244

Signed-off-by: Lukas Puehringer lukas.puehringer@nyu.edu

lukpueh commented 2 years ago

:( Looks like setup-python's can't just cache any subsequent pip calls but needs a requirements file.

lukpueh commented 2 years ago

I briefly looked through setup-python docs and code but couldn't find an option to make use of the pip cache dir as we did before with action/cache. Adding a requirements.txt makes it work and doesn't seem unreasonable.

@joshuagl, can I get another approval?