Skip to content

Commit 261eedf

Browse files
committed
add bazel info logging like bazelci
1 parent 52ce9d1 commit 261eedf

File tree

1 file changed

+20
-8
lines changed

1 file changed

+20
-8
lines changed

.github/workflows/presubmit.yml

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,31 @@ jobs:
1616
- latest
1717
- last_rc
1818
- last_green
19+
xcode:
20+
- 16.2
1921
fail-fast: false
22+
permissions:
23+
contents: write
2024
env:
2125
USE_BAZEL_VERSION: ${{ matrix.bazel }}
2226
steps:
27+
- uses: actions/checkout@v4
28+
- uses: maxim-lobanov/setup-xcode@v1
29+
with:
30+
xcode-version: ${{ matrix.xcode }}
2331
- uses: bazel-contrib/setup-bazel@0.14.0
2432
with:
2533
bazelisk-cache: true
2634
disk-cache: ${{ github.workflow }}
2735
repository-cache: true
2836
bazelrc: |
2937
test --test_tag_filters=-skipci
30-
- uses: maxim-lobanov/setup-xcode@v1
31-
with:
32-
xcode-version: '16.2'
33-
- uses: actions/checkout@v4
34-
- run: bazel build //tools/... //test/...
35-
- run: bazel test //tools/... //test/... //examples/...
38+
- name: Bazel Info
39+
run: |
40+
bazel version
41+
bazel info
42+
- run: bazel build tools/... test/...
43+
- run: bazel test tools/... test/... examples/...
3644
doc_tests:
3745
runs-on: ubuntu-latest
3846
env:
@@ -41,6 +49,7 @@ jobs:
4149
# USE_BAZEL_VERSION: last_green
4250
USE_BAZEL_VERSION: 21a12c72d84e9108142421d9a8526edf8dceb78c
4351
steps:
52+
- uses: actions/checkout@v4
4453
- uses: bazel-contrib/setup-bazel@0.14.0
4554
with:
4655
bazelisk-cache: true
@@ -49,8 +58,11 @@ jobs:
4958
# TODO: Remove this once stardoc is updated to 0.7.1+ (https://github.com/bazelbuild/stardoc/pull/238)
5059
bazelrc: |
5160
test --noincompatible_disallow_empty_glob
52-
- uses: actions/checkout@v4
53-
- run: bazel test //doc/...
61+
- name: Bazel Info
62+
run: |
63+
bazel version
64+
bazel info
65+
- run: bazel test doc/...
5466
buildifier:
5567
runs-on: ubuntu-latest
5668
steps:

0 commit comments

Comments
 (0)