srctree

Robin Linden parent f8ae4b5c 5b142964
Enforce prettier's formatting in CI

inlinesplit
.github/workflows/ci.yaml added: 9, removed: 1, total 8
@@ -129,6 +129,14 @@ jobs:
- name: Check
run: ./buildifier --lint=warn --warnings=all -mode diff WORKSPACE $(find . -type f -name "BUILD.*")
 
prettier:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- run: npm install --global prettier@3.2.4
- run: npx prettier --ignore-path .gitignore --write .
- run: git diff --exit-code
 
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true