Skip to content

Commit 6c0bea5

Browse files
committed
build: upgrade to latest bazel 7.3.2
1 parent a6a7588 commit 6c0bea5

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.1.1
1+
7.3.2

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,12 @@ jobs:
107107
- name: Mount bazel caches
108108
uses: actions/cache@v4
109109
with:
110+
# Cache the --dist_cache and --repository_cache directories (see ci.bazelrc)
111+
# and the default xdg cache (see XDG_CACHE_HOME docs https://bazel.build/remote/output-directories#layout)
110112
path: |
111113
~/.cache/bazel-disk-cache
112114
~/.cache/bazel-repository-cache
113-
~/.cache/xdg-cache
115+
~/.cache/bazel
114116
key: >-
115117
bazel-cache-${{ matrix.bazel-version.version }}-${{ matrix.bzlmod }}-${{ matrix.os }}-${{ matrix.folder }}-
116118
${{ hashFiles('.bazelrc', '.bazelversion', '.bazeliskrc', '**/BUILD', '**/BUILD.bazel', '**/*.bzl', 'WORKSPACE', 'WORKSPACE.bazel', 'WORKSPACE.bzlmod', 'MODULE.bazel', '**/*.js', '!e2e') }}-
@@ -152,8 +154,6 @@ jobs:
152154
--build_tag_filters=-skip-on-bazel${{ matrix.bazel-version.major }},-skip-on-bzlmod-${{ matrix.bzlmod }} \
153155
--enable_bzlmod=${{ matrix.bzlmod }} \
154156
//...
155-
env:
156-
XDG_CACHE_HOME: ~/.cache/xdg-cache # bazelisk will download bazel to here
157157
158158
test-worker:
159159
runs-on: ubuntu-latest

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ jobs:
1717
- name: Mount bazel caches
1818
uses: actions/cache@v4
1919
with:
20+
# Cache the --dist_cache and --repository_cache directories (see ci.bazelrc)
21+
# and the default xdg cache (see XDG_CACHE_HOME docs https://bazel.build/remote/output-directories#layout)
2022
path: |
21-
"~/.cache/bazel"
22-
"~/.cache/bazel-repo"
23+
~/.cache/bazel-disk-cache
24+
~/.cache/bazel-repository-cache
25+
~/.cache/bazel
2326
key: bazel-cache-${{ hashFiles('**/BUILD.bazel', '**/*.bzl', 'WORKSPACE') }}
2427
restore-keys: bazel-cache-
2528
- name: bazel test //...
26-
env:
27-
# Bazelisk will download bazel to here
28-
XDG_CACHE_HOME: ~/.cache/bazel-repo
2929
run: bazel --bazelrc=.github/workflows/ci.bazelrc --bazelrc=.bazelrc test //...
3030
- name: Prepare release
3131
run: .github/workflows/release_prep.sh ${{ env.GITHUB_REF_NAME }} > release_notes.txt

0 commit comments

Comments
 (0)