Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.

Commit 6938047

Browse files
committed
add PR check
1 parent f353cb6 commit 6938047

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Pull Request
2+
3+
on:
4+
pull_request:
5+
branches: ['main', 'release']
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
pull-requests: write
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: bazel-contrib/setup-bazel@4fd964a13a440a8aeb0be47350db2fc640f19ca8 # 0.15.0
15+
- run: bazel build gazelle
16+
- id: size
17+
run: echo "size=$(ls -lh bazel-bin/gazelle_/gazelle | awk '{print $5}')" >> "$GITHUB_OUTPUT"
18+
- uses: thollander/actions-comment-pull-request@v3
19+
with:
20+
message: "🔍 Binary size: ${{ steps.size.outputs.size }}"

0 commit comments

Comments
 (0)