From b53ceeeca9252eb46c7eb176afc4d00e0d0d80d5 Mon Sep 17 00:00:00 2001 From: cpovirk Date: Tue, 20 Feb 2024 09:19:22 -0800 Subject: [PATCH] Bump Bazel to 7.0.2, and configure it for all Bazelisk builds, not just for CI. https://github.com/bazelbuild/bazelisk?tab=readme-ov-file#how-does-bazelisk-know-which-bazel-version-to-run (prompted by https://github.com/google/flogger/issues/373) RELNOTES=n/a PiperOrigin-RevId: 608630912 --- .bazelversion | 1 + .github/workflows/ci.yml | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) create mode 100644 .bazelversion diff --git a/.bazelversion b/.bazelversion new file mode 100644 index 0000000..a8907c0 --- /dev/null +++ b/.bazelversion @@ -0,0 +1 @@ +7.0.2 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 729a8e7..0a45c03 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,9 +15,6 @@ jobs: matrix: java: [8, 11, 15] runs-on: ubuntu-latest - env: - # Used by bazelisk: https://github.com/bazelbuild/bazelisk - USE_BAZEL_VERSION: '3.7.1' steps: # Cancel any previous runs for the same branch that are still running. - name: 'Cancel previous runs'