Skip to content

Commit

Permalink
Try using p0deje/setup-bazel everywhere.
Browse files Browse the repository at this point in the history
Change-Id: If5d32fdb715be0b3b4ecdcf4d762ca92eb2c99d6
Reviewed-on: https://code-review.googlesource.com/c/re2/+/62670
Reviewed-by: Alex Chernyakhovsky <[email protected]>
Reviewed-by: Paul Wankadia <[email protected]>
  • Loading branch information
junyer committed Feb 13, 2024
1 parent ab7c591 commit 731086c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci-bazel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
BAZELISK_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: bazelbuild/setup-bazelisk@v3
- uses: p0deje/[email protected]
with:
bazelisk-version: '1.x'
- run: .github/bazel.sh
shell: bash
4 changes: 3 additions & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ jobs:
USER: runner
steps:
- uses: actions/checkout@v4
- uses: bazelbuild/setup-bazelisk@v3
- uses: p0deje/[email protected]
with:
bazelisk-version: '1.x'
- run: app/build.sh
shell: bash
- uses: actions/upload-pages-artifact@v3
Expand Down
17 changes: 9 additions & 8 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ jobs:
# Stash the timestamp for the commit SHA that triggered the workflow.
- run: echo "timestamp=$(git log -1 --pretty=%ct)" >> "${GITHUB_ENV}"
shell: bash
- uses: bazelbuild/setup-bazelisk@v3
- uses: p0deje/[email protected]
with:
bazelisk-version: '1.x'
- name: Prepare Python ${{ matrix.ver }} environment
run: |
"${PYTHON}" -m pip install --upgrade pip
Expand Down Expand Up @@ -86,7 +88,9 @@ jobs:
# Stash the timestamp for the commit SHA that triggered the workflow.
- run: echo "timestamp=$(git log -1 --pretty=%ct)" >> "${GITHUB_ENV}"
shell: bash
- uses: bazelbuild/setup-bazelisk@v3
- uses: p0deje/[email protected]
with:
bazelisk-version: '1.x'
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.ver }}
Expand Down Expand Up @@ -135,12 +139,9 @@ jobs:
# Stash the timestamp for the commit SHA that triggered the workflow.
- run: echo "timestamp=$(git log -1 --pretty=%ct)" >> "${GITHUB_ENV}"
shell: bash
# Avoid the Chocolatey install of Bazel getting in the way;
# `bazelbuild/setup-bazelisk` doesn't work for some reason.
- run: |
choco uninstall -y bazel
choco install -y bazelisk
shell: bash
- uses: p0deje/[email protected]
with:
bazelisk-version: '1.x'
# Lowercase the architecture name for `actions/setup-python`.
- run: |
ARCHITECTURE=${{ matrix.arch.name }}
Expand Down

0 comments on commit 731086c

Please sign in to comment.