blob: 0c4d28c5be3aef5cb3bc18622f2081323eb4a2f1 [file]
name: Buildifier
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [master]
pull_request:
branches: [master]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: buildifier
run: bazel run --enable_bzlmod //.github/workflows:buildifier.check