Skip to content

Conversation

@varungandhi-src
Copy link
Contributor

Right now, we keep rebuilding protoc from scratch
(as a dependency of Buildifier...?) which takes several
minutes, making the linting step slower than the
ci.yml workflow. We should just cache things.

Ideally, we would just depend on pre-built buildifier
binaries, such as in https://github.com/keith/buildifier-prebuilt,
but we don't want to have divergence in the build
config from upstream, if possible.

Test plan

See if linting step speeds up in subsequent PRs.

Right now, we keep rebuilding protoc from scratch
(as a dependency of Buildifier...?) which doesn't
make sense. We should just cache things.

Ideally, we would just depend on pre-built buildifier
binaries, such as in https://github.com/keith/buildifier-prebuilt,
but we don't want to have divergence in the build
config from upstream, if possible.
@varungandhi-src varungandhi-src changed the title ci: Cache Bazel data from linting step. ci: Cache Bazel data from linting step Nov 7, 2025
@varungandhi-src varungandhi-src merged commit c7d4d22 into scip-ruby/master Nov 7, 2025
3 checks passed
@varungandhi-src varungandhi-src deleted the vg/cache-lint branch November 7, 2025 13:01
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.

2 participants