diff --git a/.github/install_bazel.sh b/.github/install_bazel.sh index a1693b87e..471ff2b31 100644 --- a/.github/install_bazel.sh +++ b/.github/install_bazel.sh @@ -4,7 +4,7 @@ if ! bazel version; then arch="arm64" fi echo "Downloading $arch Bazel binary from GitHub releases." - curl -L -o $HOME/bin/bazel --create-dirs "https://github.com/bazelbuild/bazel/releases/download/8.2.0/bazel-8.2.0-linux-$arch" + curl -L -o $HOME/bin/bazel --create-dirs "https://github.com/bazelbuild/bazel/releases/download/8.2.1/bazel-8.2.1-linux-$arch" chmod +x $HOME/bin/bazel else # Bazel is installed for the correct architecture diff --git a/.github/workflows/bazel.yml b/.github/workflows/bazel.yml index ab94f16e9..4bc19e2b8 100644 --- a/.github/workflows/bazel.yml +++ b/.github/workflows/bazel.yml @@ -21,15 +21,11 @@ jobs: steps: - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - - name: mount bazel cache - uses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2 - env: - cache-name: bazel-cache + - uses: bazel-contrib/setup-bazel@0.18.0 with: - path: "~/.cache/bazel" - key: ${{ env.cache-name }}-${{ matrix.os }}-${{ github.ref }} - restore-keys: | - ${{ env.cache-name }}-${{ matrix.os }}-main + bazelisk-cache: true + disk-cache: ${{ github.workflow }} + repository-cache: true - name: build run: | diff --git a/CMakeLists.txt b/CMakeLists.txt index 7e50eec91..ada04a61c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ # Require CMake 3.10. If available, use the policies up to CMake 3.22. cmake_minimum_required (VERSION 3.13...3.22) -project (benchmark VERSION 1.9.4 LANGUAGES CXX) +project (benchmark VERSION 1.9.5 LANGUAGES CXX) option(BENCHMARK_ENABLE_TESTING "Enable testing of the benchmark library." ON) option(BENCHMARK_ENABLE_EXCEPTIONS "Enable the use of exceptions in the benchmark library." ON) diff --git a/MODULE.bazel b/MODULE.bazel index 620e3d030..c162d0531 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -1,6 +1,6 @@ module( name = "google_benchmark", - version = "1.9.4", + version = "1.9.5", ) bazel_dep(name = "bazel_skylib", version = "1.7.1") diff --git a/bindings/python/google_benchmark/__init__.py b/bindings/python/google_benchmark/__init__.py index 040bdff0c..331a88e9b 100644 --- a/bindings/python/google_benchmark/__init__.py +++ b/bindings/python/google_benchmark/__init__.py @@ -48,7 +48,7 @@ def my_benchmark(state): oNSquared as oNSquared, ) -__version__ = "1.9.4" +__version__ = "1.9.5" class __OptionMaker: