Skip to content

Remove actions/cache usage in workflows/build.yaml#275

Merged
dennwc merged 4 commits intolivekit:mainfrom
ScottBrenner:patch-2
Feb 19, 2025
Merged

Remove actions/cache usage in workflows/build.yaml#275
dennwc merged 4 commits intolivekit:mainfrom
ScottBrenner:patch-2

Conversation

@ScottBrenner
Copy link
Copy Markdown
Contributor

@ScottBrenner ScottBrenner commented Feb 1, 2025

No cache is being saved here currently, below messages are logged in workflow executions e.g. https://github.com/livekit/sip/actions/runs/13057592439/job/36432439669#step:3:14

Cache not found for input keys: sip

and https://github.com/livekit/sip/actions/runs/13057592439/job/36432439669#step:7:2

Warning: Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.

As such, the usage of actions/cache here is not really doing anything - proposing removing.

Modifying the usage of actions/cache a bit following https://github.com/actions/cache/blob/main/examples.md#go---modules does not resolve these messages, the workflow would need to additionally - or instead - utilize https://github.com/actions/setup-go?tab=readme-ov-file#caching-dependency-files-and-build-outputs

@ScottBrenner ScottBrenner requested a review from a team as a code owner February 1, 2025 19:50
@ScottBrenner ScottBrenner marked this pull request as draft February 1, 2025 19:55
@ScottBrenner ScottBrenner changed the title Correct actions/cache usage in workflows/build.yaml Remove actions/cache usage in workflows/build.yaml Feb 1, 2025
@ScottBrenner ScottBrenner marked this pull request as ready for review February 1, 2025 20:00
@ScottBrenner
Copy link
Copy Markdown
Contributor Author

Hey @Sean-Der spare a moment to review?

@Sean-Der
Copy link
Copy Markdown
Contributor

Sorry @ScottBrenner I don't have write access to this repo.

@biglittlebigben @dennwc

@dennwc dennwc merged commit 64a01f4 into livekit:main Feb 19, 2025
2 checks passed
@ScottBrenner ScottBrenner deleted the patch-2 branch February 19, 2025 16:06
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.

3 participants