Skip to content

feat: cache V executable to speed up subsequent runs#14

Open
cadamsdev wants to merge 4 commits intovlang:mainfrom
cadamsdev:fix/caching
Open

feat: cache V executable to speed up subsequent runs#14
cadamsdev wants to merge 4 commits intovlang:mainfrom
cadamsdev:fix/caching

Conversation

@cadamsdev
Copy link
Contributor

@cadamsdev cadamsdev commented Mar 15, 2026

Notable changes

  • These changes cache the V executable when a version is specified.
  • Added cache input so the user can turn off caching (caching is enabled by default)

Example

- name: Setup V
  uses: vlang/setup-v@v1
  with:
    version: '0.5.1'

First run (30 seconds)

Screenshot 2026-03-15 at 7 40 19 PM

Subsequent run (1 second)

Screenshot 2026-03-15 at 7 44 06 PM

Result
30x faster subsequent runs

@cadamsdev cadamsdev marked this pull request as ready for review March 15, 2026 23:55
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.

1 participant