Add buildifier check action (copied from OR)

Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
This commit is contained in:
Matt Liberty 2026-04-23 05:45:36 +00:00
parent 8e42af1759
commit ba45bd2791
1 changed files with 3 additions and 3 deletions

View File

@ -10,14 +10,14 @@ on:
jobs:
buildifier:
runs-on: 'ubuntu-latest'
runs-on: ${{ vars.USE_SELF_HOSTED == 'true' && 'self-hosted' || 'ubuntu-latest' }}
strategy:
fail-fast: false
matrix:
check:
- name: Run buildifier format
- name: Buildifier format
run: ./buildifier -r -mode=check -lint=off .
- name: Run buildifier lint
- name: Buildifier lint
run: ./buildifier -r -lint=warn .
name: ${{ matrix.check.name }}
env: