From fbb52d987e3156b96da0809f5b61e1946eb26cdb Mon Sep 17 00:00:00 2001 From: Paul Wankadia Date: Mon, 29 Apr 2024 18:55:47 +0000 Subject: [PATCH] Prepare to tag release `2024-05-01`. Bump versions of actions and dependencies. Change-Id: Ifb798e7c320b092e2faed2cd4d03fc962b8c009e Reviewed-on: https://code-review.googlesource.com/c/re2/+/63010 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 | 22 +++++++++++----------- .github/workflows/release.yml | 2 +- MODULE.bazel | 4 ++-- python/setup.py | 2 +- 9 files changed, 27 insertions(+), 27 deletions(-) diff --git a/.github/workflows/ci-bazel.yml b/.github/workflows/ci-bazel.yml index 4eea110fb..e49cd2ac7 100644 --- a/.github/workflows/ci-bazel.yml +++ b/.github/workflows/ci-bazel.yml @@ -14,8 +14,8 @@ jobs: env: BAZELISK_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@v4.1.1 - - uses: bazel-contrib/setup-bazel@0.8.1 + - uses: actions/checkout@v4.1.4 + - uses: bazel-contrib/setup-bazel@0.8.2 with: bazelisk-version: '1.x' - run: .github/bazel.sh diff --git a/.github/workflows/ci-cmake.yml b/.github/workflows/ci-cmake.yml index 6e131fe1a..07ecdfbe0 100644 --- a/.github/workflows/ci-cmake.yml +++ b/.github/workflows/ci-cmake.yml @@ -15,7 +15,7 @@ jobs: matrix: build_shared_libs: [OFF, ON] steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.4 - name: Install CMake run: | apt update -y @@ -35,7 +35,7 @@ jobs: matrix: build_shared_libs: [OFF, ON] steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.4 - name: Install Abseil, GoogleTest and Benchmark run: | brew update @@ -50,7 +50,7 @@ jobs: matrix: build_shared_libs: [OFF, ON] steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.4 - name: Install Abseil, GoogleTest and Benchmark run: | vcpkg update diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 27ce6ece7..b83b4e52d 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.1 + - uses: actions/checkout@v4.1.4 - name: Install Abseil, GoogleTest and Benchmark run: | brew update @@ -39,7 +39,7 @@ jobs: CC: clang-${{ matrix.ver }} CXX: clang++-${{ matrix.ver }} steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.4 - name: Install Clang ${{ matrix.ver }} run: | # Avoid `Conflicts: python3-lldb-x.y` between packages. @@ -65,7 +65,7 @@ jobs: CC: gcc-${{ matrix.ver }} CXX: g++-${{ matrix.ver }} steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.4 - name: Install Abseil, GoogleTest and Benchmark run: | sudo apt update -y diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 85e54d876..af2c45ddb 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.1 - - uses: bazel-contrib/setup-bazel@0.8.1 + - uses: actions/checkout@v4.1.4 + - uses: bazel-contrib/setup-bazel@0.8.2 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.1 + - uses: actions/checkout@v4.1.4 - uses: actions/deploy-pages@v4.0.5 diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 805f0fa4a..b8f94cdcb 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.1 + - uses: actions/checkout@v4.1.4 - uses: actions/github-script@v7.0.1 with: script: | diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 7f97adc23..7607a2551 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -31,11 +31,11 @@ jobs: # Bazel fails if the username is unknown. USER: runner steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.4 # 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.1 + - uses: bazel-contrib/setup-bazel@0.8.2 with: bazelisk-version: '1.x' - name: Prepare Python ${{ matrix.ver }} environment @@ -58,7 +58,7 @@ jobs: "${PYTHON}" re2_test.py shell: bash working-directory: python - - uses: actions/upload-artifact@v4.3.1 + - uses: actions/upload-artifact@v4.3.3 with: name: ${{ hashFiles('python/google_re2-*.whl') }} path: python/google_re2-*.whl @@ -87,11 +87,11 @@ jobs: # Otherwise, Python refuses to install the built wheel! SYSTEM_VERSION_COMPAT: 0 steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.4 # 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.1 + - uses: bazel-contrib/setup-bazel@0.8.2 with: bazelisk-version: '1.x' - uses: actions/setup-python@v5.1.0 @@ -118,7 +118,7 @@ jobs: python re2_test.py shell: bash working-directory: python - - uses: actions/upload-artifact@v4.3.1 + - uses: actions/upload-artifact@v4.3.3 with: name: ${{ hashFiles('python/google_re2-*.whl') }} path: python/google_re2-*.whl @@ -138,11 +138,11 @@ jobs: BAZEL_CPU: ${{ matrix.arch.bazel-name }}_windows PLAT_NAME: ${{ matrix.arch.python-name }} steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.4 # 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.1 + - uses: bazel-contrib/setup-bazel@0.8.2 with: bazelisk-version: '1.x' # Lowercase the architecture name for `actions/setup-python`. @@ -174,7 +174,7 @@ jobs: python re2_test.py shell: bash working-directory: python - - uses: actions/upload-artifact@v4.3.1 + - uses: actions/upload-artifact@v4.3.3 with: name: ${{ hashFiles('python/google_re2-*.whl') }} path: python/google_re2-*.whl @@ -190,7 +190,7 @@ jobs: id-token: write runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.4 # Stash the timestamp for the commit SHA that triggered the workflow. - run: echo "timestamp=$(git log -1 --pretty=%ct)" >> "${GITHUB_ENV}" shell: bash @@ -210,7 +210,7 @@ jobs: python -m build --sdist shell: bash working-directory: python - - uses: actions/download-artifact@v4.1.4 + - uses: actions/download-artifact@v4.1.7 with: path: python - name: Set build number to ${{ inputs.build }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dd150a3a5..59bd537be 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.1 + - uses: actions/checkout@v4.1.4 - run: | gh release create "${GITHUB_REF_NAME}" \ --generate-notes --latest --verify-tag \ diff --git a/MODULE.bazel b/MODULE.bazel index 583cbdca2..602097462 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -6,11 +6,11 @@ module( name = "re2", - version = "2024-04-01", + version = "2024-05-01", compatibility_level = 1, ) -bazel_dep(name = "platforms", version = "0.0.9") +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") diff --git a/python/setup.py b/python/setup.py index 8b40c238d..27782bf57 100644 --- a/python/setup.py +++ b/python/setup.py @@ -192,7 +192,7 @@ def include_dirs(): setuptools.setup( name='google-re2', - version='1.1.20240401', + version='1.1.20240501', description='RE2 Python bindings', long_description=long_description, long_description_content_type='text/plain',