From c5c4cde18aeaa838d8068852b43def1c305a4823 Mon Sep 17 00:00:00 2001 From: Allan Clark Date: Thu, 2 Nov 2023 12:06:27 -0700 Subject: [PATCH] doc: slight doc improvement --- .bazelrc | 5 ++--- .github/workflows/ci.bazelrc | 3 +++ .github/workflows/release.yml | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.bazelrc b/.bazelrc index 1352248..2419bfc 100644 --- a/.bazelrc +++ b/.bazelrc @@ -1,6 +1,5 @@ -# Bazel settings that apply to this repository. -# Take care to document any settings that you expect users to apply. -# Settings that apply only to CI are in .github/workflows/ci.bazelrc +# These Bazel settings are applied by default; settings that apply only to CI are in +# .github/workflows/ci.bazelrc and are applied in .github/workflows/ci.yaml build --nolegacy_external_runfiles # Load any settings specific to the current user. diff --git a/.github/workflows/ci.bazelrc b/.github/workflows/ci.bazelrc index 967616a..8b718cc 100644 --- a/.github/workflows/ci.bazelrc +++ b/.github/workflows/ci.bazelrc @@ -4,4 +4,7 @@ build --announce_rc test --test_output=errors build --disk_cache=$HOME/.cache/bazel build --repository_cache=$HOME/.cache/bazel-repo + +# XDG_CACHE_HOME is where bazelisk -- if used -- will cache downloads; workflows use setup-bazelisk +# which aliases 'bazel' to bazelisk. We inject this into the test runner env like an action_env test --test_env=XDG_CACHE_HOME diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b85789f..3bab70b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,5 +1,5 @@ # Cut a release whenever a new tag is pushed to the repo. -# You should use an annotated tag, like `git tag -a v1.2.3` +# You should use an annotated tag, like `git tag -a 1.2.3` # and put the release notes into the commit message for the tag. name: Release