Skip to content

Use setup-bazel GHA #111

@jwnimmer-tri

Description

@jwnimmer-tri

The https://github.com/bazel-contrib/setup-bazel project has matured enough where it's probably worth trying to ditch our custom yml setup and replacing it with that tool.

Besides the workflow yaml (e.g., dealing with caching) that can hopefully be removed now ...

# Restore the most appropriate caches.

... we also should aim to drop the related rcfile lines:

# Put the Bazel caches somewhere the CI runner will preserve them from one run
# to the next. (All of ~/.cache/bazel_ci/ is preserved.)
fetch --repository_cache /home/runner/.cache/bazel_ci/externals
build --repository_cache /home/runner/.cache/bazel_ci/externals
fetch --disk_cache /home/runner/.cache/bazel_ci/local_disk
build --disk_cache /home/runner/.cache/bazel_ci/local_disk

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

On deck

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions