From f3c0709cd071a1802eaca1a38995a3445dec12d7 Mon Sep 17 00:00:00 2001 From: Paul Wankadia Date: Fri, 21 Jun 2024 17:28:16 +0000 Subject: [PATCH] Bump versions of actions and dependencies. Change-Id: Ia4272f8c10eb5e4d1b93049e7516d2ccd0090100 Reviewed-on: https://code-review.googlesource.com/c/re2/+/63351 Reviewed-by: Alex Chernyakhovsky Reviewed-by: Paul Wankadia --- .github/workflows/ci-bazel.yml | 4 ++-- .github/workflows/ci-cmake.yml | 6 +++--- .github/workflows/ci.yml | 6 +++--- .github/workflows/pages.yml | 6 +++--- .github/workflows/pr.yml | 2 +- .github/workflows/python.yml | 16 ++++++++-------- .github/workflows/release.yml | 2 +- MODULE.bazel | 4 ++-- 8 files changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/ci-bazel.yml b/.github/workflows/ci-bazel.yml index 252448f31..2b56d9954 100644 --- a/.github/workflows/ci-bazel.yml +++ b/.github/workflows/ci-bazel.yml @@ -15,8 +15,8 @@ jobs: env: BAZELISK_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@v4.1.6 - - uses: bazel-contrib/setup-bazel@0.8.4 + - uses: actions/checkout@v4.1.7 + - uses: bazel-contrib/setup-bazel@0.8.5 with: bazelisk-version: '1.x' - uses: actions/setup-python@v5.1.0 diff --git a/.github/workflows/ci-cmake.yml b/.github/workflows/ci-cmake.yml index 113c1eafd..8c3e8d679 100644 --- a/.github/workflows/ci-cmake.yml +++ b/.github/workflows/ci-cmake.yml @@ -12,7 +12,7 @@ jobs: matrix: build_shared_libs: [OFF, ON] steps: - - uses: actions/checkout@v4.1.6 + - uses: actions/checkout@v4.1.7 - name: Install Abseil, GoogleTest and Benchmark run: | vcpkg update @@ -29,7 +29,7 @@ jobs: matrix: build_shared_libs: [OFF, ON] steps: - - uses: actions/checkout@v4.1.6 + - uses: actions/checkout@v4.1.7 - name: Install Abseil, GoogleTest and Benchmark run: | brew update @@ -44,7 +44,7 @@ jobs: matrix: build_shared_libs: [OFF, ON] steps: - - uses: actions/checkout@v4.1.6 + - uses: actions/checkout@v4.1.7 - name: Install Abseil, GoogleTest and Benchmark run: | vcpkg update diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9b5cb2ca6..494563894 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: # (The other two flags are the default provided for CXXFLAGS in Makefile.) CXXFLAGS: -O3 -g -std=c++${{ matrix.ver }} steps: - - uses: actions/checkout@v4.1.6 + - uses: actions/checkout@v4.1.7 - name: Install Abseil, GoogleTest and Benchmark run: | brew update @@ -40,7 +40,7 @@ jobs: CXX: clang++-${{ matrix.ver }} PKG_CONFIG_PATH: /usr/local/share/vcpkg/installed/x64-linux/lib/pkgconfig steps: - - uses: actions/checkout@v4.1.6 + - uses: actions/checkout@v4.1.7 - name: Install Clang ${{ matrix.ver }} run: | # Avoid `Conflicts: python3-lldb-x.y` between packages. @@ -68,7 +68,7 @@ jobs: CXX: g++-${{ matrix.ver }} PKG_CONFIG_PATH: /usr/local/share/vcpkg/installed/x64-linux/lib/pkgconfig steps: - - uses: actions/checkout@v4.1.6 + - uses: actions/checkout@v4.1.7 - name: Install Abseil, GoogleTest and Benchmark run: | vcpkg update diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 297e897af..e3653142a 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -17,8 +17,8 @@ jobs: # Bazel fails if the username is unknown. USER: runner steps: - - uses: actions/checkout@v4.1.6 - - uses: bazel-contrib/setup-bazel@0.8.4 + - uses: actions/checkout@v4.1.7 + - uses: bazel-contrib/setup-bazel@0.8.5 with: bazelisk-version: '1.x' - run: app/build.sh @@ -37,5 +37,5 @@ jobs: environment: github-pages runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.6 + - uses: actions/checkout@v4.1.7 - uses: actions/deploy-pages@v4.0.5 diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index af29512cd..e3f99a4f5 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -15,7 +15,7 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.6 + - uses: actions/checkout@v4.1.7 - uses: actions/github-script@v7.0.1 with: script: | diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 39c106e8c..24e32aec3 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -36,11 +36,11 @@ jobs: # Bazel fails if the username is unknown. USER: runner steps: - - uses: actions/checkout@v4.1.6 + - uses: actions/checkout@v4.1.7 # Stash the timestamp for the commit SHA that triggered the workflow. - run: echo "timestamp=$(git log -1 --pretty=%ct)" >> "${GITHUB_ENV}" shell: bash - - uses: bazel-contrib/setup-bazel@0.8.4 + - uses: bazel-contrib/setup-bazel@0.8.5 with: bazelisk-version: '1.x' - name: Prepare Python ${{ matrix.ver }} environment @@ -97,11 +97,11 @@ jobs: # Otherwise, Python refuses to install the built wheel! SYSTEM_VERSION_COMPAT: 0 steps: - - uses: actions/checkout@v4.1.6 + - uses: actions/checkout@v4.1.7 # Stash the timestamp for the commit SHA that triggered the workflow. - run: echo "timestamp=$(git log -1 --pretty=%ct)" >> "${GITHUB_ENV}" shell: bash - - uses: bazel-contrib/setup-bazel@0.8.4 + - uses: bazel-contrib/setup-bazel@0.8.5 with: bazelisk-version: '1.x' - uses: actions/setup-python@v5.1.0 @@ -153,11 +153,11 @@ jobs: BAZEL_CPU: ${{ matrix.arch.bazel-name }}_windows PLAT_NAME: ${{ matrix.arch.python-name }} steps: - - uses: actions/checkout@v4.1.6 + - uses: actions/checkout@v4.1.7 # Stash the timestamp for the commit SHA that triggered the workflow. - run: echo "timestamp=$(git log -1 --pretty=%ct)" >> "${GITHUB_ENV}" shell: bash - - uses: bazel-contrib/setup-bazel@0.8.4 + - uses: bazel-contrib/setup-bazel@0.8.5 with: bazelisk-version: '1.x' # Lowercase the architecture name for `actions/setup-python`. @@ -210,7 +210,7 @@ jobs: id-token: write runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.6 + - uses: actions/checkout@v4.1.7 # Stash the timestamp for the commit SHA that triggered the workflow. - run: echo "timestamp=$(git log -1 --pretty=%ct)" >> "${GITHUB_ENV}" shell: bash @@ -246,6 +246,6 @@ jobs: shell: bash working-directory: python - if: inputs.build >= 1 - uses: pypa/gh-action-pypi-publish@v1.8.14 + uses: pypa/gh-action-pypi-publish@v1.9.0 with: packages-dir: python/dist diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 25721ae05..6c513923b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@v4.1.6 + - uses: actions/checkout@v4.1.7 - run: | gh release create "${GITHUB_REF_NAME}" \ --generate-notes --latest --verify-tag \ diff --git a/MODULE.bazel b/MODULE.bazel index 995ebd1b5..dbcee1007 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -14,7 +14,7 @@ bazel_dep(name = "platforms", version = "0.0.10") bazel_dep(name = "apple_support", version = "1.15.1") bazel_dep(name = "rules_cc", version = "0.0.9") bazel_dep(name = "abseil-cpp", version = "20240116.2") -bazel_dep(name = "rules_python", version = "0.32.2") +bazel_dep(name = "rules_python", version = "0.33.2") bazel_dep(name = "pybind11_bazel", version = "2.12.0") # This is a temporary hack for `x64_x86_windows`. @@ -24,6 +24,6 @@ use_repo(cc_configure, "local_config_cc") # These dependencies will be ignored when the `re2` module is not # the root module (or when `--ignore_dev_dependency` is enabled). -bazel_dep(name = "google_benchmark", version = "1.8.3", dev_dependency = True) +bazel_dep(name = "google_benchmark", version = "1.8.4", dev_dependency = True) bazel_dep(name = "googletest", version = "1.14.0.bcr.1", dev_dependency = True) bazel_dep(name = "abseil-py", version = "2.1.0", dev_dependency = True)