Skip to content

Commit

Permalink
Bump versions of actions to address warnings.
Browse files Browse the repository at this point in the history
Change-Id: Ie5e78296c9f2a937fb2bee1be1126113690e76d9
Reviewed-on: https://code-review.googlesource.com/c/re2/+/62510
Reviewed-by: Paul Wankadia <junyer@google.com>
Reviewed-by: Alex Chernyakhovsky <achernya@google.com>
  • Loading branch information
junyer committed Jan 29, 2024
1 parent 826ad10 commit 62a0936
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-bazel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
env:
BAZELISK_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# TODO(junyer): Use `v2` whenever a new release is tagged.
- uses: bazelbuild/setup-bazelisk@6244971d4f7ba9aca943c2f3ede2bbd813fcca51
- run: .github/bazel.sh
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci-cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
matrix:
build_shared_libs: [OFF, ON]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install CMake
run: |
apt update -y
Expand All @@ -35,7 +35,7 @@ jobs:
matrix:
build_shared_libs: [OFF, ON]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Abseil, GoogleTest and Benchmark
run: |
brew update
Expand All @@ -50,7 +50,7 @@ jobs:
matrix:
build_shared_libs: [OFF, ON]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Abseil, GoogleTest and Benchmark
run: |
vcpkg update
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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@v3
- uses: actions/checkout@v4
- name: Install Abseil, GoogleTest and Benchmark
run: |
brew update
Expand All @@ -39,7 +39,7 @@ jobs:
CC: clang-${{ matrix.ver }}
CXX: clang++-${{ matrix.ver }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Clang ${{ matrix.ver }}
run: |
# Avoid `Conflicts: python3-lldb-x.y` between packages.
Expand All @@ -65,7 +65,7 @@ jobs:
CC: gcc-${{ matrix.ver }}
CXX: g++-${{ matrix.ver }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Abseil, GoogleTest and Benchmark
run: |
sudo apt update -y
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/github-script@v6
- uses: actions/checkout@v4
- uses: actions/github-script@v7
with:
script: |
const fs = require('fs');
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
# Bazel fails if the username is unknown.
USER: runner
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# Stash the timestamp for the commit SHA that triggered the workflow.
- run: echo "timestamp=$(git log -1 --pretty=%ct)" >> "${GITHUB_ENV}"
shell: bash
Expand All @@ -57,7 +57,7 @@ jobs:
"${PYTHON}" re2_test.py
shell: bash
working-directory: python
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: ${{ hashFiles('python/google_re2-*.whl') }}
path: python/google_re2-*.whl
Expand All @@ -81,13 +81,13 @@ jobs:
# Otherwise, Python refuses to install the built wheel!
SYSTEM_VERSION_COMPAT: 0
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# Stash the timestamp for the commit SHA that triggered the workflow.
- run: echo "timestamp=$(git log -1 --pretty=%ct)" >> "${GITHUB_ENV}"
shell: bash
# TODO(junyer): Use `v2` whenever a new release is tagged.
- uses: bazelbuild/setup-bazelisk@6244971d4f7ba9aca943c2f3ede2bbd813fcca51
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.ver }}
- name: Prepare Python ${{ matrix.ver }} environment
Expand All @@ -111,7 +111,7 @@ jobs:
python re2_test.py
shell: bash
working-directory: python
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: ${{ hashFiles('python/google_re2-*.whl') }}
path: python/google_re2-*.whl
Expand All @@ -131,7 +131,7 @@ jobs:
BAZEL_CPU: ${{ matrix.arch.bazel-name }}_windows
PLAT_NAME: ${{ matrix.arch.python-name }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# Stash the timestamp for the commit SHA that triggered the workflow.
- run: echo "timestamp=$(git log -1 --pretty=%ct)" >> "${GITHUB_ENV}"
shell: bash
Expand All @@ -146,7 +146,7 @@ jobs:
ARCHITECTURE=${{ matrix.arch.name }}
echo "architecture=${ARCHITECTURE,,}" >> "${GITHUB_ENV}"
shell: bash
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.ver }}
architecture: ${{ env.architecture }}
Expand All @@ -170,7 +170,7 @@ jobs:
python re2_test.py
shell: bash
working-directory: python
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: ${{ hashFiles('python/google_re2-*.whl') }}
path: python/google_re2-*.whl
Expand All @@ -182,11 +182,11 @@ jobs:
- wheel-windows
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# Stash the timestamp for the commit SHA that triggered the workflow.
- run: echo "timestamp=$(git log -1 --pretty=%ct)" >> "${GITHUB_ENV}"
shell: bash
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Prepare Python 3.x environment
Expand All @@ -202,7 +202,7 @@ jobs:
python -m build --sdist
shell: bash
working-directory: python
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
path: python
- name: Set build number to ${{ inputs.build }}
Expand Down

0 comments on commit 62a0936

Please sign in to comment.