Skip to content

Commit 0695c0d

Browse files
committed
Run 'buck2 starlark lint' in CI
1 parent 4e0123d commit 0695c0d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/lint.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,16 @@ jobs:
2828
- run: reindeer buckify
2929
- name: Check reindeer-generated BUCK file up to date
3030
run: git diff --exit-code
31+
32+
starlark:
33+
name: Starlark lint
34+
needs: pre_ci
35+
if: needs.pre_ci.outputs.continue
36+
runs-on: ubuntu-latest
37+
timeout-minutes: 45
38+
steps:
39+
- uses: actions/checkout@v4
40+
- uses: dtolnay/install-buck2@latest
41+
- name: git submodule init
42+
uses: ./.github/actions/checkout
43+
- run: git ls-files '*.bzl' '*.bxl' | xargs buck2 starlark lint

0 commit comments

Comments
 (0)